BASH: filters for ls command
In BASH how do I list all files older than 1000 days?
|
Quote:
Code:
find / -mtime +1000 |
Hello,
Have a look at the man page for find, more in particular the -mtime and -atime parameters. Code:
man find Eric |
Quote:
|
Hi,
It is indeed pretty complex (but also complete) but after reading what you need like 4 times it becomes clear. Kind regards, Eric |
Quote:
Also, the find command chokes on some files (it stopped on a rather large .mov file |
Hello,
Have a look at the man page for ls: Code:
-c with -lt: sort by, and show, ctime (time of last modification of file Kind regards, Eric |
Quote:
Code:
ls -l $( find / -mtime +1000 ) |
All times are GMT -5. The time now is 01:15 AM. |