|
-
April 28th, 2006, 08:04 PM
#1
Banned
Help with diff command
Ok heres my situation
I have 2 operating systems on my box. Slackware 10 and Windows XP Pro.
Pro was installed first and I had just recently installed Slackware
When installing Slackware I have my windows partion mounted as /fat-c (although its nfts). And its read-only.
Problem: I have my up-to-date music folder on the /fat-c and my not so up date Music folder in my /home directory on Slackware. I want to be abe to run a command that compares the two folders, finds differences and copies the differences into the slackware folder.
I want to use diff and pipe it into cp or vise versa.
I tried
cp -r |diff Music1 Music2| cut -d: f1
But it didnt work. Any suggestions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|