Hi all,
what i'm trying to configure its to the following,
find all files older then 1 min,gzip them ,rename/move with date and extension .gz (example tes.log_2012-07-26.gz) and trying to move them to another folder (gzipped),the command i'm typing its this,
but it does only the first two options,gzips the files and rename/moves them with the correct date and extension,but it doesn't complete the third option to move the file to another directory (gzipped)
when executing the command i get the following
mv: can not stat of "/home/charli/Desktop/test/test.log": File or directory does not exist
This doesn't work at all :File or directory missing
Thanks any way.
---------- Post updated at 10:58 AM ---------- Previous update was at 10:56 AM ----------
Yes i'll gain nothing on doing this on one line,but it simply cos i want to execute this job manually and not on cron jod by calling a script once a time.
Any way to make it?