A file system structure in which to store computer files.

learn more… | top users | synonyms

47
votes
2answers
36k views

How to set default file permissions for all folders/files in a directory?

I want to set a folder such that anything created within it (directories, files) inherit default permissions and group. Lets call the group "media". And also, the folders/files created within the ...
2
votes
1answer
827 views

How to zip individual files from different directories in one line?

I want to zip numerous files from different directories(paths) in one line. How can I do that?
8
votes
2answers
699 views

the slash (/) after a directory name on shell commands

I have a little question here. If I have two files, say filea and fileb, mv filea fileb would delete fileb rename filea to fileb Then if I have two directories, say dira and dirb, mv dira dirb ...
8
votes
6answers
481 views

Best way run a command on each file in a directory tree

There appear be a number of ways to do this including loops in shell script, find and xargs. Which of these is best, and which is most portable?
19
votes
3answers
964 views

What does size of a directory mean in output of 'ls -l' command?

What does size of a directory mean in output of ls -l command?

1 3 4 5 6 7