how to do intelligent file copy/update

Joined
Mar 2, 2007
Messages
62
Reaction score
0
Points
6
Any advice re how to do an intelligent file copy/update from one drive to another.

BACKGROUND: I was to revert back from Lion to Leopard and I'm looking for an easy way to identify the files in my home directory that have changed since the Lion upgrade (i.e. diff between my Lion main disk, and my backup external drive which I have a superduper copy of the main disk just prior to upgrade).
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Compare the file dates to see which is the latest version.
 
Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
How comfortable are you with using the Terminal? :)

Code:
find ./ -mtime +3 | xargs -I {} cp {} <location>

This would(should) find any files older than 3 days in the current folder (./) and copy them to <location>
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top