I recently had my second hard-drive of the past semester begin to fail on me and become unable to ghost to a new drive. I still had the first hd that failed so we ghosted that drive but now I need to get all the files and things that have changed since the date of the first ghosting (first failed hd -> second failed hd) onto the new drive (all files on second failed hd since a date -> third working hd). Is there an easy way to script this in the linux terminal or use another program?
I've looked into using the following commands but they haven't been successful and fail after the first few folders have been archived:
find . -type f -mtime -58 |xargs tar --no-recursion -czvf allmodified.tgz tar czvf allmodified.tgz `find . -type f -mtime -58`
The find code works and locates all the files on the drive I need but I still can't find a way to get them to archive with file structure so that I can unpack the files on the new drive (third working hd) and they will be preserved where they were in the past 2 months.
I'm not the best at describing my problems so if you have confusion please ask questions and I'll do my best to answer them.
Any hints help, thank you so much!