Ok. Writing a shell script to tidy up a directory on a server I have.
I have logs in folders going back till mid 2006.
They are arranged like:
./log/2007/10/22/log1
./log/2007/10/22/log2
./log/2007/10/22/log3
./log/2007/10/22/log4
./log/2007/10/23/log1
./log/2007/10/23/log2
./log/2007/10/23/log3
./log/2007/10/23/log4
and I want to copy any files over a month old to /spare while still retaining this file structure.
Doable?
I have logs in folders going back till mid 2006.
They are arranged like:
./log/2007/10/22/log1
./log/2007/10/22/log2
./log/2007/10/22/log3
./log/2007/10/22/log4
./log/2007/10/23/log1
./log/2007/10/23/log2
./log/2007/10/23/log3
./log/2007/10/23/log4
and I want to copy any files over a month old to /spare while still retaining this file structure.
Doable?