Search Results

Search: Posts Made By: krish_007
2,471
Posted By krish_007
Thank you, Is there a command that we can...
Thank you,

Is there a command that we can rule out if the file name might be "Test" "TEST" "test" conditions ..
2,471
Posted By krish_007
Hello Jim, Thank you for the response.. ...
Hello Jim,

Thank you for the response..

Here's the script with grep -v and its not working
/usr/bin/find /DIR -type f -name '*.txt.gz' \! -name | grep -v '*TEST*.gz' -mtime +30 -exec rm {} \;...
2,471
Posted By krish_007
Please help me in using case sensitive command
Hello All,

Please help me with this

I need to create a cronjob that should delete all files which are older than 30days with '*.txt' and should not delete files with '*TEST*.txt' either file...
Showing results 1 to 3 of 3

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