Welcome To Snipplr
Everyone's Recent Snippets Tagged directory
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Run from within SQL to get list of items in directory to a table.
1
803
posted 16 years ago by DaveChild
Loads the contens of a dir an sorts them by the date of creation.
2
1048
posted 16 years ago by romanos
In response to a very simplistic solution suggestion using Shell, here is a basic version of what I use. The advantage of the solution below is that it is supposed to be much faster on directories with many files (I regularly use its full-blown versi...
0
787
posted 16 years ago by amosshapira
This (almost) one-liner cascades into all subdirectories and deletes the files first, then the directories. Makes deleting a directory really easy. This was originally posted by John Wilson into the Groovy user list.
2
1650
posted 17 years ago by hansamann
This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.
13
920
posted 18 years ago by SunnyJim
This script reads a directory of files. After reading the directory specified it outputs the directory files. Upon output, supplied functions manipulate each filename and format it to make the output filename look better. e.g.: instead of output bei...
2
1055
posted 18 years ago by drewrockshard