I am using find command to search for files older then 2 days in a directory and delete the files.
The directory structure is like this - /home/test and /home/test/nwo.
There are files that are older then 2 days in both /home/test and /home/test/nwo directory.
I want to delete the files out of /home/test & not delete files from /home/test/nwo directory.
Thanks in advance.
The directory structure is like this - /home/test and /home/test/nwo.
There are files that are older then 2 days in both /home/test and /home/test/nwo directory.
I want to delete the files out of /home/test & not delete files from /home/test/nwo directory.
Thanks in advance.