0
votes
2answers
52 views

Compute folder size for a given file extension only

I have a folder containing all my PHP projects, I'd like a command that would output the folder size of each project but only for the *.php files inside it. Ideally the output would be something like ...
-1
votes
1answer
30 views

Cant delete folders with files in it:

When i try to delete folder with some files nomater how it don't allow me to delete it(when i right click the folder and click delete the option is active but does nothing), first i have to delete all ...
2
votes
2answers
54 views

where are the files and dirs “recently used” stored?

On my Ubuntu 12.04, all the gnome applications (such as Nautilus, Evince, gedit, firefox) can access "Recently Used" files and directories, when opening files in them. I wonder where the ...
1
vote
0answers
10 views

Is there any software to maintain a track of all files in a folder. Like a database?

I am aware of a few that use tags and metadata but the actual database where the records are tracked is not accessible. I am interested in a simple spreadsheet that gives me a list of all files added ...
1
vote
1answer
33 views

How can I recover from deleting the /usr/share/themes directory?

I deleted the /usr/share/themes directory, how can I recover it? Is there any way to check if there is any missing file/directory in /Computer directory? This was a bad try to change GIMP and ...
0
votes
1answer
24 views

In KDE when I create a file in the Home directory it also creates files on the Desktop

Whenever I create An new file in my Home directory In Dolphin it also create the same file on my desktop and on my widget (folder viewer.) How can I fix this? It worked fine until now, but It just ...
1
vote
0answers
48 views

please help, cant open files/folders after upgrade, emergency

Help me please :(, I recommended to a friend to upgrade from 12.04 to 14.04, but he had no backup of his files. When the upgrade proccessfinished and he rebooted his laptop, after login, he tried t ...
4
votes
1answer
72 views

Hidden files won't stay hidden in Ubuntu 14.04 LTS

Whenever I open my files, my hidden files show up. I can hide them but when I open up my files again, they're showing again. How do I make the hidden files invisible permanently?
1
vote
3answers
31 views

File name is now red and I can't find it

I did this mv -f bashthings /playinhere/ to move a directory "Bashthings" and all of it's files into another directory "Playinhere". Now I can't see Bashthings and when I "locate" it, it shows up, ...
0
votes
1answer
44 views

set file permissions

I have a directory, where users can drop their plugins (for a game). The directory permissions work for adding these plugin files. But there is one Problem: When the plugin generates config files, ...
1
vote
2answers
75 views

How to create a new folder on List view on nautilus?

This is a really small problem, although it seems to be like a pretty big design issue. When the folder is full of files, for example, there's no empty space left to right click on, so how do I ...
0
votes
2answers
86 views

cannot access/delete folder in Rubbish Bin containing hundred of thousand of corrupted files on 14.04

yesterday I discovered a folder in the Trash Bin named FdtN0bhKRX containing more than 700,000 corrupted files. I know the approximate number because I tried to move the folder to a USB key, and when ...
0
votes
0answers
73 views

No such file but the file is there!

I'm trying to compile a C++ file with some includes. My main file (well I didn't make it hdf5_getters includes a file which includes the file hdf5.h, also not my design but it's a downloaded library. ...
1
vote
1answer
35 views

Joomla Files/Folders Permissions in Ubuntu

The recommended way of setting files and folders permissions in the joomla root directory is the following (from the help.ubuntu website) cd /var/www/joomla/ sudo find . -type f -exec chmod 644 {} \; ...
1
vote
1answer
15 views

Datasize problem

I have a problem with the Data size. The files and the directory’s are showed with the size. I don’t want to see the size of the files and directory. How can I deactivate it? I am using Ubuntu 12.04. ...
1
vote
0answers
18 views

Ubuntu File Appearing As Directory

I have this php file that somehow is showing as a directory. It still has a php extension but when I cd the file I get: base: cd: satisfaction.php: Input/output error When I vim the file it looks ...
2
votes
0answers
80 views

How do I manually arrange the items in a folder in 14.04?

Icons can be arranged manually on the desktop, but I can't find any way to do it inside any other kind of folder. This is a big shame, as I used to (in 12.04) manually lay out and change the icons ...
1
vote
0answers
35 views

How to change file into folder? [duplicate]

My folder Desktop changed to file Desktop (without extension, 6MB). How can I turn it back? I need that content.
1
vote
0answers
65 views

Folders not showing up in 'Recent' view in 14.04

If I open up what is now called files, and click on 'recent' in the left hand column, it gives me all the files I've used recently well enough, but none of the folders. Folders are how I keep ...
2
votes
2answers
245 views

Why use a named pipe instead of a file?

I recently read about named pipes, and I couldn't understand why they exist. I've read somewhere that using a named pipe is less time-consuming than using a file. Why is this so? The named pipes also ...
1
vote
2answers
176 views

Move images from sub-folders into new sub-folders

I have a folder composed of M several sub-folders, each of them containing some text files and N images (*.png) This is what the tree looks like: /parent/ /sub-folder1/ /data1.dat /data2.dat ...
0
votes
1answer
98 views

chmod directories and files in one command?

I have a directory "project" that contains a set of subdirectories and files. I want to give 777 permission to the directories and files from my 666 in the same directory with chmod command in my ...
0
votes
0answers
15 views

Home folder disappearing in fraction of seconds, unable to access the home folder

Home folder disappearing in fraction of seconds, unable to access the home folder. OS is Ubuntu 13.10. Please help me to get this issue resolved. Thanks
0
votes
2answers
56 views

directories for dummies [duplicate]

I am VERY new to UBUNTU. I am trying to learn how to SRM a file, however I need to know how the directory name in order to type it out in the terminal. Can someone please help me figure out how to ...
1
vote
2answers
35 views

Why does deleted files also appear in directory [duplicate]

For example consider that i have created a file temp.txt and delete it later, there is still an invisible file temp.txt~ Of course I can delete it but Why do i need to do it always, So how to avoid ...
11
votes
5answers
3k views

Is it bad practice for folder name to contain dot (.)? How about file name with multiple dots?

Sometimes it makes practical sense for a folder name to contain a dot (.). For example, you are storing data for an experiment conducted at L=0.5. So the folder might be named: experiment_L0.5 A ...
1
vote
3answers
78 views

Output Directory Contents to File

I have a directory html. I would like to output the files of the directory, including the path, to a file. You can do something like this with the command: ls -R scripts/html > out.txt But the ...
0
votes
1answer
104 views

Ubuntu 12.04 opening dialog hangs too long when opening files,folders, anything?

Every time i open any file, or folder, basically anything, there is an opening dialog on my panel, like Opening this and that. And even when file is opened, opening dialog hangs there for another ...
2
votes
4answers
109 views

Rename all the files “file.txt” in directory with multiple subdirectories

If I have a directory1 which has a "file.txt" and subdirectories: "week", "today", "last month". In "week" and "last month" is also "file.txt". directory1/ file.txt week/ file.txt ...
0
votes
1answer
38 views

Display contents of one folder in another

Is it possible to show all the files from one folder in another on Ubuntu? A bit like libraries on Windows? More specifically I want files from a specific folder in my local Google drive folder to ...
0
votes
0answers
30 views

folders content in properties goes through a loop

When I select several folders and right-click properties, the content (files and size) takes a huge amount of time, because it keeps starting from zero. For example it counts the files (and size) ...
0
votes
2answers
181 views

How can I see the memory occupied by a file and folder and also entire directory from terminal?

I'm having some files and folders in the "My Documents" directory. What are the commands to see the size of a file and directory in a terminal?
1
vote
0answers
73 views

file and folder permissioins

I have an Ubuntu file server (samba) sharing a folder structure with a Windows 7 computer classroom. All users use the same user/pass to access the folders and have read/write permissions. I would ...
0
votes
0answers
24 views

File rating in folder

I wonder if there's a posibility to rate files (especially sound files) in folder with list view in rating column. I've used this feature in win 7 and it's probably only thing I miss. I'm not looking ...
0
votes
1answer
63 views

Find directory and delete it's content but not itself

How do I find a directory and delete all it's content but not the directory itself? find -type -d -name 'Tmp' -exec rm -rf {} \; But this also deletes 'Tmp' directory. Thanks in advance.
1
vote
1answer
129 views

Deleting a directory + unlinking the files

I have a folder with many files those have a few sym links pointing to them like /some_path -> /dir/file1 /some_path2 -> /dir/file2 /some_path3 -> /dir/file3 But I don't remember neither ...
-2
votes
1answer
850 views

How to make a file or folder undeletable? [duplicate]

I want to make a file or folder undeletable, even the superuser can't be able to delete that file.Chattr command makes a file undeletable only if the files were in Linux filesystems (ext2,ext4). But I ...
0
votes
2answers
281 views

How to delete this file?

I am trying to create a directory .ebextensions. Ubuntu 12.04 is telling me that there is already a file with that name; however, I have searched for it, and nothing comes up. I really need to create ...
0
votes
0answers
13 views

How do I find lost files and a directory in an application?

Here is the problem, when my HTML editor Bluefish loads, it finds the file:///home directory but fails to find my directory with my webserver on it (var/www). I can't navigate to that file folder ...
0
votes
0answers
49 views

Discrepancy in folder content size

I have a folder called 0 which contains subfolders and files. If I right click 0 and go to properties in nautilus, it shows that the folder contains 35 items totalling 22.2kB: However, if I go into ...
4
votes
3answers
597 views

Going to the parent directory of a file with cd?

I am writing a .sh to do some work for me, but I am now at the point where I have to cd to the directory the file /path/to/file.end is in. terminal doesn't allow cd /path/to/file.end bash: cd: ...
1
vote
1answer
110 views

Cut WHOLE folder if it contains .jpg files

I am switching to UBUNTU from W 7. I have been using both for a while, and the perfect time has come to really switch just to Ubuntu now that my w7 crashed for good. The big problem is, all my files ...
0
votes
2answers
57 views

how do you add files to existing programs

How does the file system work with Ubuntu. How do you find where a program is and if needed how do you add file to it?
0
votes
1answer
341 views

How should I Change Permissions (Dirs & Files) recursively in an mp3 external hard drive?

this is not that simple as it sound, so please read carefully before answer (I really tried before writing this). So, the problem is the following. I have an external hard drive, NTFS of 2TB. It is ...
2
votes
2answers
495 views

Open file or folder location directly when searching for it - Nautilus [duplicate]

I currently use nautilus as my default file manager. When I search for some file or folder, I also need to switch to the directory that contains the particular file or folder. It feels tedious to go ...
2
votes
1answer
116 views

What is the best directory for script files?

I have my own shell script files and I want to run them in terminal, keeping them in /usr/bin folder. But my question is: which directory is best for keeping files of my own script? I want to use this ...
19
votes
5answers
23k 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 ...
1
vote
1answer
486 views

Why do iWork documents appear as folders on Ubuntu One and Ubuntu?

I'm uploading to Ubuntu One part my Mac drive and there are some files from iWork that are uploaded as folders. So instead of myfile.pages I get a folder with the name myfile.pages on the Ubuntu ...
2
votes
1answer
85 views

Fail to log in Ubuntu for deleting my home folder

I moved my home folder("huangzhiwu") to /usr/share carelessly. Then after i noticed that ,i make a new folder named huangzhiwu in /home ,and moved all files from /usr/share/huangzhiwu to the new home ...
1
vote
1answer
80 views

wrong use of #MV

I've a done wrong use of sudo mv command. Example: sudo Mv/home/USER/Downloads/piff.pdf /root/PDFs Then the directory /root/PDFs has been changed to a plain text file. I can undo the command? I ...