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
2answers
201 views

Searching for specific magic byte in an ocean of files

I want to know how I can search for a specific file type: I have entered a SSH server and I am trying to search for a .jpg file, but the owner of the server (my teacher) has removed all extensions. I ...
0
votes
0answers
7 views

geany wont open files accross the network

This used to work, and now it doesn't. I have a sftp connection to another machine, where I open the folder and browse with caja, the file I would like to open. I right click, and select open with ...
0
votes
1answer
10 views

Can I estore a folder that suddenly disappeared?

It sometimes occurs in my laptop that when I close it (physically), the laptop crashes when I open it afterwards, and the screen goes black. This time, I had some files open, and when I rebooted the ...
0
votes
1answer
13 views

How to return to default window size of files windows in ubuntu?

Can someone help me how to set default size of files windows when they open?
0
votes
1answer
23 views

Ubuntu from pendrive

I have Ubuntu 14.04 in my USB pen drive but when I insert my pen drive in Windows 10 ,it shows invalid file format .I could not find my pen drive in boot options too.
0
votes
1answer
21 views

Ubuntu automatically shows deleted files

I ran Ubuntu 14.04.3 LTS from a live cd and I noticed that it shows deleted files (some many years old) on USB sticks and on the computer's hard drive (files that were created, saved and deleted from ...
1
vote
1answer
29 views

Cannot copy files in Ubuntu to external drive: names with special characters

I cannot copy a lot of files to my external drive because when I try to do it I get the error "wrong file name". I have seen that these files have special characters and I would like to know how to ...
1
vote
2answers
19 views

File system goes read-only when using file explorers

I have a problem with my 15.10 system and it goes as follows: When using Nemo or Nautilus (these are the two I've tried) works fine as long as I explore my home directory only. Visiting 'File ...
0
votes
2answers
17 views

How to loop file names into an array or run custom code on it

This is a qna post (Do not need help, just wanted to help others). Recently worked with some files and had difficulty in reading the files #version1 (error on files with spaces) arrFiles[0]=0 ...
1
vote
1answer
37 views

Home folder opens again

I have a mounted partition, where my data lie. I click on the folder icon and it opens. I go to the 196 GB Volume (that's the place) and it opens. I open a file with gedit. Now, when I want to go ...
0
votes
0answers
11 views

How to make a save partition for personal files?

How can i make a partition for example for photos. Something like disk D: in windows. I already installed ubuntu 14.04.3 on my computer. I would like to split /dev/sda2 which has 750gb and make some ...
0
votes
0answers
22 views

How to move files and don't break anything?

I have a file and want to move it somewhere. Before I move it, I need to check if it has any connections with other programs or links or environment variables. Is there any command or plugin which can ...
3
votes
2answers
34 views

Can I create a self-destructing file?

I placed a file into my local Dropbox folder. I would like it to exist only temporarily for X numbers of days. After X numbers of days the file should be automatically deleted. Is it possible to ...
-2
votes
1answer
31 views

for f in files returns sections separated by space

I have the following code arrFiles[0]=0 cd "/home/thenok/Documents/Link to thought diary" for i in $(find -type f ! -name "*~"); do arrFiles[0]=$[arrFiles[0]+1] arrFiles[arrFiles[0]]="$i" echo " ...
0
votes
0answers
18 views

allow executing file as program cannot be unchecked

My issue is that I want to be able to click a text file and have it open in a text editor by default. When I right-click on a .txt file and go to the pemissions tab and when in there, under the ...
3
votes
3answers
319 views

Execute commands on hidden files

I run command to search for phrase in all files: cat *.* | grep blabla It works fine but I got problem with hidden files and directories. Command simply not deals with them. Ho to solve this ...
0
votes
0answers
13 views

How to only allow a file to be opened or executed by certain application(s)?

Let's say that I've got a security application (or something which I just don't want any old application or user to have access to because it is very important and if the wrong guys had access to it ...
0
votes
0answers
30 views

Using AWK to write a CSV file (help me learn it)

I've been struggling with a pdf Directory (list of companies) that was converted with PDFTOTEXT and I would like to convert it's contents with AWK, the input file has the following format: COMPANY ...
3
votes
1answer
46 views

How to create one directory in the tree of directories ubuntu?

I'm using Ubuntu 14.04 LTS a little while ago and I consider myself a beginner. I get the following window: I wonder if there is any way to create a folder in the "Places" area in the tree of ...
1
vote
0answers
20 views

How to stop a file or folder from being indexed in GNOME?

I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I would like to know if I can do any of the following and if so how: Make it so that a folder is not indexed but leave its contents indexable (so ...
0
votes
0answers
24 views

Prevent user from accidentally deleting file without using the Terminal

I must tell a 10 years old boy he can change the icon of a .desktop file. He doesn't know anything about permissions but he can put the icon in the Pictures folder (not protected by default). I can ...
-1
votes
2answers
43 views

Pulling a particular block from a text file

I am trying to pull out a block of data from a huge text file which contains 1193373557 lines. I am excluding the first 25 lines and the last 4 lines, and the more challenging job is that the ...
0
votes
0answers
23 views

Messed up permissions

I tried to remove file permissions for 'other' from all user directories. So I did cd /home/ Then Instead of sudo chmod -R o-rwx * I typed sudo chmod -R o -rwx *, which resulted in some troubles. ...
0
votes
0answers
14 views

data is missing while writing into a file in Ubuntu

I am using UBUNTU 14.04 LTS. I am coding GUI program with QT creator,for MIL-STD-1553 communication.I am saving the Data what ever sending the data to RT(Remote terminal)from BC(bus controller) in a ...
3
votes
2answers
328 views

How to have a forward slash in a file name?

I understand that this will likely break and confuse the hell out of my system, but is it possible to name or rename a file so that it has /s in its name (this is needed for a file which needs to go ...
4
votes
2answers
470 views

How to find all empty files and folders in a specific directory including files which just look empty but are not?

Let's say that in my folder ~/list I have a large amount of folders each with their own sub-folders and sub-sub-folders etc, and there are lots of files almost on each level. However some of these ...
0
votes
1answer
31 views

How can I import all my Windows files into Ubuntu?

My Windows 10 has crashed, and now I would like to go with Ubuntu 14.04. I have my working files in other drives. How can I import my files from Windows to Ubuntu without loosing them?
0
votes
0answers
14 views

how to delete a file using its inode number in busybox?

while doing a random compilation I created a file that has unreadable character as its file name so, I want to remove it using its inode number. I got some options in the internet but they don't work ...
0
votes
0answers
15 views

files and folder can't see

I have pc with dual boot ubuntu 15.10 and windows 10. I saved some files in ntfs partition from ubuntu. I can't see that files on windows 10 and now can't see that files also on ubuntu after open ...
1
vote
0answers
19 views

Force file creation time for all files transferred to a directory

Is there a way in Linux to change the creation/last access time/last modified time by default, whenever new files are transferred or copied. Currently, I need to poll a directory for files and ...
0
votes
1answer
36 views

Command to output lines in file in alphabetical order?

I have a file containing one word per line. How can I print out each line in alphabetical order - ie. the first letter of each word decides the order?
0
votes
0answers
28 views

System screwed desperately need access to mozilla folder

I have recently uninstalled and re-installed Synaptics package for the touchpad (which was playing up) through the Synaptics package manager. Now Ubuntu (14.04.03 LTS) will not boot. After the screen ...
0
votes
0answers
10 views

Which type of tar compression has the best compression power? [duplicate]

There are many variations of the .tar compressed packages tar.bz2; tar.gz; tar.Z; tar.lz; tar.xz I want to compress: A series of text files video(s) I understand that the different types of tar ...
1
vote
0answers
24 views

Accessing git commands from the file manager

Is there a way to do git commands from the Files manager in Ubuntu 14.04? E.g: commit changes, push, pull, etc.
2
votes
2answers
104 views

ubuntu 15.10 freezes when copying files to shared drive

Ubuntu 15.10 64bit When moving or copying files to either a USB Pen Drive or a Network Share Drive Nautilus (Files) hangs. The copying/moving process starts but then freezes. I know Ubuntu cannot ...
1
vote
2answers
144 views

Regular expressions VS Filename globbing

I know that Regular expressions are to be used only with characters and strings, but sometimes I find them in the names of files. My question is: are regexes only used with characters or also with ...
0
votes
0answers
40 views

how to run wine explorer file with native linux app?

lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily uname -a Linux router 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 ...
0
votes
0answers
17 views

Can't restore files from trash [duplicate]

When I try to move a file out of the trash (whether by clicking the restore button or by copying and pasting), I get an "Error while moving" saying "No such file or directory". Some other times (and ...
1
vote
0answers
22 views

media player wont play drag and dropped media files

I just got a Sony nwz-e384 walkman. I transfer files Drag and drop, but the device refuses to play them. When I do the same files, in the same way (drag and drop) on windows, the device will play ...
1
vote
1answer
120 views

Problem in downloading Torrent file with Transmission Bit Torrent

I am pretty new in Ubuntu. I have just installed Desktop version of Ubuntu 14.4.3 LTS on my Laptop. My installation was successful. I have Transmission Bit Torrent Client on my Ubuntu now. When I ...
1
vote
0answers
22 views

udevadm test for net devices

I am trying to dump the udev env to see my %M,%m and %k values (I am not happy with udevadm info -a) For that in the RUN I write to a file under tmp/ as mentioned here: ...
0
votes
2answers
61 views

How do I remove certain characters before or after a certain number from a list of files in terminal?

Suppose there is a list of files with the following pattern: ABC2011DEFG.txt What command should I use to remove characters before or after the number in between while keeping the file extension? ...
0
votes
1answer
37 views

ls - filtered list - total size

I'd like to list all the files beginning with z, have their individual filesize, and the total size in the bottom of the list (so I don't have to scroll up like with ls -s). DOS equivalent : dir z* ...
7
votes
6answers
689 views

How to count the total number of files/folders on a system?

How can I count the number of all files/folders that exist on a system, using the command-line? I can find it out using a GUI, simply by opening the properties window for the entire / folder, but it ...
0
votes
0answers
18 views

Where is the device for this folder?

Im trying to mount my smart-phone, and transfer some files, but when caja opens the disk it never does it right, and certain functionality like search doesn’t work right. So I just want to mount the ...
1
vote
1answer
30 views

How to record all modifications to directories, subdirectories and files in one session?

How can I record all the modifications to directories, subdirectories and files made during one session (ie. during login time)? For example, listing all the files/folders that were modified, and ...
0
votes
1answer
34 views

Ubuntu to Windows storage server [closed]

So I have just added an Ubuntu server to my home network that is otherwise composed out of Windows machines. The computer has two hard disks, 120GB one with OS and one 320GB that is currently mounted ...
14
votes
2answers
760 views

How to make my system delete all the files in a certain directory older than a certain time while keeping the directory structure intact?

I have a directory on my machine, think of it as my own sort of tmp directory, but it's in my ~ directory. And I want to make it so that my system every 3 hours deletes all the files in (though ...
0
votes
1answer
61 views

Unable to see files Android phone Galaxy S5 connected via usb

Does anybody know how to make files from the phone to show on my computer. 14.04 I need to transfer photos and videos to computer. It was working fine yesterday. Here is the screenshot, as you can ...
0
votes
1answer
33 views

USB Flash drive size usage discrepancy

I've got a 68gb thumb drive with 52gb of stuff on it and I've got 9gb remaining to add, but I can't do so because Thunar says there's insufficient space. Hitting properties shows this: I've unhidden ...