For questions concerning specifics about the files on Ubuntu. If your question is about the file manager called "Files" in Ubuntu, use the [nautilus] tag instead.

learn more… | top users | synonyms (2)

1
vote
1answer
23 views

how to create a file with .dat extension in ubuntu 12.04

I am new to Ubuntu. I have been using Ubuntu 12.04 for the past few weeks. My question is, just like we can use notepad in Windows to create files with .dat extension, how do i create such a file in ...
4
votes
2answers
9k views

Why is it possible to convert a file just by renaming its extension?

When you rename files into a different, most of the times it does not work. But, suppose you have a .png file, you can just rename "image.png" to "image.jpeg" or "image.gif", it automatically gets ...
10
votes
5answers
6k views

How to copy only file attributes (metadata) without actual content of the file?

I've already copied terabytes of files with rsync but I forgot to use --archive to preserve files' special attributes. I tried executing rsync again this time with --archive but it was way slower ...
-1
votes
2answers
40 views

How to move files on Computer freely? [duplicate]

so I'm new to Ubuntu and I get frustrated everytime I need to move/delete/rename files on the computer drive I need to go through the terminal and go 'sudo ... ' .. is there a easier way to do it ...
1
vote
1answer
36 views

Recovering data from a corrupted ubuntu system

My laptop running Linux 14.10 was being upgraded to the latest version when the process froze half way due to the PC being put to sleep. Now when I start it up I log in and it reverts back to the log ...
1
vote
1answer
125 views

No more xorg.conf file in ubuntu 14.10?

I was looking to make modifications to my xorg.conf file because I'm experiencing flash video tearing in the browser (with the xorg nouveau drivers on my intel hd graphics for the Intel D525 Atom ...
4
votes
3answers
239 views

How do I find my file which was moved without destination

I am in a trouble. I pressed 'enter' without the destination. I had two files in the same directory with a common IDENTIFIER in their name. I wanted to move them to a folder, so I entered mv ...
0
votes
0answers
27 views

Folder date modified in Files shows date of folder creation not content modification

So when sorting by date modified in Files, the date the folder picks up is the date that the folder was first created, but if a file is modified in the folder the date doesn't change. Anyway to ...
2
votes
2answers
28 views

remove file with -h_some_file_name in shell [duplicate]

I have a problem when trying removing a file with name something like -h_some_file_name, this is because of generated script that I made and forget to check the prefix. If I run the command rm ...
0
votes
0answers
29 views

Error renaming file: -6: Not Supported

I tried to rename a file of my MotoG phone, through Ubuntu which is connected through a data cable. The phone is connected as a Media Device (MTP). I got a Error renaming file: -6: Not Supported. ...
1
vote
1answer
31 views

Files take up more space on new RAID array

I just upgraded and reinstalled my home server. One thing I did was going from software raid to a raid card. After doing this and starting to copy back my backups, I've noticed that my first ~1TB ...
1
vote
2answers
62 views

Determinate if a file is already opened

I want to create a bash script to determine if my file is already opened by another user. I have already tried with lsof but it didn't work as i wanted. The files can have different types of ...
0
votes
2answers
5k views

Installing XAMPP

I'm new to linux and I'm trying to install XAMPP I downloaded the file and I cant execute it, I followed the Instruction on http://www.apachefriends.org/en/xampp-linux.html#374 but when I'm trying ...
0
votes
2answers
24 views

getting .desktop file to show up in launcher

I have a script working from a thumbdrive. It works fine when double clicked or launched with sh filename.sh. I made a .desktop file to launch it from the launcher and put it in both ...
0
votes
0answers
21 views

Android Photos Not Viewable

So I'm running Ubuntu 14.04.2 on my Laptop. When I plug my phone in, I can't open any pictures or videos. I've tried switching my media connection on my phone to all three options, nothings working. ...
3
votes
6answers
818 views

command to find files by searching only part of their names?

Say there are files with names: batman.c batwoman.c batgirl.c cricketbat.c What command and how should I use it to list all these files by using the searchtag bat?
0
votes
1answer
18 views

what to do if I accidently changed .bin file? [duplicate]

I changed .bin opening file to other and I dont know how to make it back (to the normal image) I tried to use "open with" and this why it dont work
4
votes
2answers
279 views

Is there an item limit for the file explorer?

This is a question regarding Xubuntu 14.04. Very long story short, I had to use the program recoverjpeg to restore some photos that I forgot to back up after a fresh install. This resulted in 850k ...
1
vote
1answer
51 views

Lastlog grows to 4.2G after SSH logout

Running a VPS with Ubuntu 12.04.5 LTS. Noticed a spike in disk usage. Turns out the culprit is lastlog. Overwrote it with >/var/log/lastlog. After logging out of the session and logging back in, ...
0
votes
1answer
24 views

Script to generate thumbs only if thumb doesn't exist

I have a working script to generate thumbs to all pdf files in a folder( using Image Magic): for f in *.pdf; do convert -thumbnail 250x200 "$f"[0]"_thumb_wd_${f%.pdf}.jpg"; done How can i adjust ...
3
votes
3answers
563 views

How to move specific files while preserving their directory structure

I have large directory with lots of files and directories on a remote Windows system where I only have FTP access. I had to do some modifications in some of the files, so I downloaded the whole ...
5
votes
5answers
46k views

Can not access files in any folder on Samsung Galaxy SII

When I connect my Samsung Galaxy SII with USB cable my DCIM folder looks empty although I can see my files on phone. Do you have any idea what would be the problem? On computer: On phone:
1
vote
0answers
7 views

Startup Disk Creator not registering disk size [duplicate]

I'm trying to create a startup disk for ubuntu 15.04. I already have installed 15.04, but I need another copy. It states that the disk has 2kb of storage size and it has none of that left, but I can ...
1
vote
1answer
39 views

Is Nautilus same as Files on 14.04?

14.04 fully updated on notebook and desktop. But Nautilus on notebook and Files on desktop. Why and can I install same on both? Unity on both. Files on desktop does not show free space as Nautilus ...
6
votes
5answers
10k views

Ubuntu 14.04 Nautilus has no menu - File, Edit etc. don't exist

Since Ubuntu 13.04, and now 13.10 and 14.04, my Nautilus (Files) has no application menu. This means that I can't access Edit>Preferences and can only change preferences via dconf-editor, as the ...
-1
votes
2answers
292 views

How can edit a executable file linux

Hi all i have a file and ist run on my ubuntu server and need to edit it but cant . i open with notepad ++ and get this How can edit
0
votes
0answers
21 views

unable to install stuck on root file partition error

root partition file error unable to install on Toshiba L50d-a**also unable to uninstall **
1
vote
1answer
33 views

Trying to copy a file from server to client

Im trying to copy a file from my server to a client account I have, I am logged in to the server from my client and am having troubles copying a file over. I use the command: (tried with and without ...
1
vote
0answers
43 views

Difference in copying files recursively from a drive using rsync

I've used the command below to copy files from Windows drive to an external HDD, using the command: rsync -azv --progress --exclude "/Windows" --exclude "/Program Files" --exclude "Program Files ...
1
vote
4answers
605 views

Can't Execute jar files

I'm having trouble opening jar files because there is no java runtime in open with listed. Even I have installed it via Software Center(i also try to reinstall it via synaptic and i do a --purge via ...
3
votes
1answer
943 views

Can I remove the .xsession file and similar files from my machine?

Are the following files needed on my machine? (I want to remove them.) .xsession .xsession-errors .xsession-errors.old .Xathority.XXXXXX I believe most if not all of them originated ...
0
votes
0answers
78 views

Unknown files of 6GB each with random names in home directory?

I am Ubuntu14.04LTS user, using it in dual boot with windows8.1. I see 2 unknown folders of 6GB each in home directory, I delete those files and it went to Trash folder as you can see in picture. I ...
0
votes
0answers
11 views

Why some Folder & File icons are unvisabel

I use Lubuntu 14.04. The title of my folder/files are apparent but their icons are randomly unapparent. In some cases when I move the mouse on them they become unvisabel fore a short time. a ...
3
votes
2answers
84 views

vmlinuz and initrd strange files appeared in “/” directory

I have recently noticed that four new files have appeared in my / directory: lrwxrwxrwx 1 root root 33 Apr 9 14:07 initrd.img -> boot/initrd.img-3.16.0-34-generic lrwxrwxrwx 1 root root ...
0
votes
0answers
30 views

Change wrong time when files are edited

Both, the time in the Unity desktop as well as the system time which I checked as described in How to display current time & date setting? are correct. However, when files are written they get a ...
1
vote
3answers
73 views

Commands or script to clean out media folder of unwanted filetypes

I have a media download folder with all sorts of irrelevant files e.g. readme, txt and torrent files in addition to the mp4, avi, mp3 and other valid media files. I want a script or a set of ...
0
votes
3answers
49 views

Unnoticingly I deleted a directory. Is there a way to recover it?

I found something over the internet here https://www.howtoforge.com/data_recovery_from_accidently_deleted_files_or_crashed_drives_in_ubuntu ...
0
votes
3answers
424 views

File transfer from and to BQ Ubuntu phone

My ubuntu (14.04 LTS) laptop does not automatically pick up my BQ ubuntu phone when connecting with a USB cable. Is it possible to transfer files between laptop and phone by cable and how is it done? ...
3
votes
1answer
71 views

Find the properties of an mp3 file via command line

Is it possible, via command line (shell command), to check for properties of a file (like when I right click on a file via Nautilus). Specifically, given an mp3 audio file, I would like to know how I ...
63
votes
6answers
99k views

How to split larger files into smaller parts?

I have a large file (8GB for Example). How can I split it into multiple parts, let's say 3 equal parts, and after that how do I integrate them later?
1
vote
0answers
43 views

while removing skype to install skype on ubuntu 14.04 I have all my files deleted

Please help me... I never use rm command but stupidly I did use this one below and as a result have all my files deleted including chrome bookmarks and settings.I lost a huge amount of my scientific ...
2
votes
0answers
86 views

14.04 Files slow and freezing

I'm running a fully updated 14.04 system and I keep getting long delays when performing certain tasks with the "Files" application. Sometimes deleting files will take upwards of a couple minutes to ...
28
votes
5answers
37k views

How to customize (add/remove folders/directories) the “Places” menu of Ubuntu 13.04 “Files” application?

I can't seem to find a way to customize (add/remove folders/directories) the "Places" menu in the most recent "Files" application of Ubuntu 13.04. The procedures used with "Nautilus" in the previous ...
3
votes
2answers
2k views

CRON is changing encoding?

I have a legacy Java program that outputs an SQL script. I then use Apache Derby to run that SQL on the target database (which is not on the same server as CRON). When run via putty, this works fine. ...
22
votes
2answers
1k views

Does the /dev/null file actually have a fixed size?

I have just found out that /dev/null is a file and not a directory. I'm just wondering if it has an actual file size.
8
votes
2answers
4k views

Reinstalling Ubuntu without formatting partition - what folders are deleted?

When re-installing Ubuntu on a partition where an existing Ubuntu installation already exists, and not choosing to format the partition, the installer shows a warning message before it begins ...
1
vote
0answers
29 views

Recovering Files from 2nd HDD on a Ubuntu Server

Been Long time, Ok So I have a Ubuntu 12 Server with 2 HDD's 1st HDD is Holding the OS and the 2nd HDD is Holding the Data. The users suddenly complained that there are no documents in the Share ...
0
votes
1answer
43 views

file changes not being saved

I'm new to Linux so please be gentle :-) I'm trying to update a .dtl file that contains html for the helpdesk application otrs that I'm running. I made a copy of the .dtl file and moved it over to ...
0
votes
0answers
13 views

purpose of bamf-2.index [duplicate]

What is the purpose of /usr/share/applications/bamf-2.index ? I have noticed the applications it contains are installed in my computer. But I don't think it contains the complete list. Because the ...
0
votes
1answer
20 views

Is O_NOATIME safe to ignore?

I am designing a filesystem to be implemented in FUSE. I have a question regarding what is allowed and best practice. There are 2 scenarios: User process calls open(..., O_NOATIME). Filesystem ...