Search Results

Search: Posts Made By: prasadn
4,680
Posted By Don Cragun
What didn't work with what was suggested in your...
What didn't work with what was suggested in your other thread?

Why do you need a separate file for each directory? Why not just include full pathnames of all of the files you want to delete in...
942
Posted By clx
You don't need comma. Also, you don't even need...
You don't need comma. Also, you don't even need the loop.

DIRS_TO_FIND="/home/ /db/ /db/backup/ /staging/ /staging/codedrops/ /db/*/db2dump/"
find "$DIRS_TO_FIND" -type f -mtime +$DAYS_OLD >>...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy