Can you please let me know the command to list the files that are created before some date, this we want to use for the following
Eg: Move all the files that got created before 2006 to new folder in Solaris
Can you please let me know the command to list the files that are created before some date, this we want to use for the following
Eg: Move all the files that got created before 2006 to new folder in Solaris
Please search before posting. This has been answered on numerous occasions in the forums.
Hi
I found the below commands that are modified, but I would like to know the command that the files are created before some date.Thank You.I am new to solaris
To list files modified 30 days back
find . -type f -mtime -30
To list folders modified 30 days back
find . -type d -mtime -30
Here is one example that came up on a search: