Hello there,
I am trying to write a line in Unix that take all the files over 11 days old in the current directory and moves them to another diretory.
So far I have tried
mv $(find . -mtime +11) /apps/data/
and
mv `find . -mtime +11` /apps/data
Neither work
What am I doing wrong
I am trying to write a line in Unix that take all the files over 11 days old in the current directory and moves them to another diretory.
So far I have tried
mv $(find . -mtime +11) /apps/data/
and
mv `find . -mtime +11` /apps/data
Neither work
What am I doing wrong