Want to write a script which move like:
these are files in different dir structure,
/home/darshak/test/sh/new.txt
/home/darshak/test/new1.txt
/home/darshak/test/pl/file.txt
to same structure as above but in different dir,
/usr/local/test/sh/new.txt
/usr/local/test/new1.txt
/usr/local/test/pl/file.txt
I am finding files by below command which I have to move:
find /home/darshak -name "*" -mtime +4

Help












