Is a faster way to copy a number of files including sub directories for a certian period eg : files from 15/12/02 to 12/03/03 to another location and maintaining the same directory structure.
Obviously replace src and dest with your source and destination directories. find lists all files in src that are newer than /tmp/startdate and older than /tmp/enddate and prints them to stdout. cpio -p reads these filenames from stdin and copies them to the destination directory maintaining the diretory structure, ownership of files, etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.