LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2016, 07:43 PM   #1
Garrett85
Member
 
Registered: Jan 2011
Posts: 278

Rep: Reputation: 5
sdiff


A few months ago I lost a lot of file from my computer due to the cloud service I was using. As a result the music on my SD card doesn't match all the music on my computer anymore. Since the data loss occurred on my computer and I don't think of ran rsync since then I expect that my SD card has everything. But after I ran sdiff on a file listing for the two files trees, HD & SD card, below is what I'm getting, it the output from sdiff. Could someone please help me to understand what I'm looking at? I can't make sense of it. Thanks.

-rw-r--r-- 1 garrett garrett 24413076 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 24088492 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 20311077 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 17001344 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 20154583 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 23818728 Oct 13 20:08 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 20623534 Oct 13 20:09 Weezer_-_0 <
-rw-r--r-- 1 garrett garrett 30360135 Oct 13 20:09 Weezer_-_1 <
<
/home/garrett/media/music/Weezer/Red Album: <
total 281664 <
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . <
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. <
-rw-r--r-- 1 garrett garrett 20036436 Oct 13 20:09 01. Troubl <
-rw-r--r-- 1 garrett garrett 41668681 Oct 13 20:09 02. The Gr <
-rw-r--r-- 1 garrett garrett 23393313 Oct 13 20:09 03. Pork a <
-rw-r--r-- 1 garrett garrett 26981054 Oct 13 20:09 04. Heart <
-rw-r--r-- 1 garrett garrett 30692400 Oct 13 20:09 05. Everyb <
-rw-r--r-- 1 garrett garrett 37491903 Oct 13 20:09 06. Dreami <
-rw-r--r-- 1 garrett garrett 22412939 Oct 13 20:09 07. Though <
-rw-r--r-- 1 garrett garrett 27364869 Oct 13 20:09 08. Cold D <
-rw-r--r-- 1 garrett garrett 22697930 Oct 13 20:09 09. Automa <
-rw-r--r-- 1 garrett garrett 35616261 Oct 13 20:09 10. The An <

/home/garrett/media/music/Weezer/The Green Album: | /media/garrett/6BF6-AC8A/Various Artists/Rain Man _ Original
total 3424 | total 5072
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | drwx------ 2 garrett garrett 16384 Aug 8 2012 .
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. | drwx------ 17 garrett garrett 16384 May 31 2015 ..
-rw------- 1 garrett garrett 3494911 Oct 13 20:09 01 Photogra | -rw-r--r-- 1 garrett garrett 5154814 Jan 1 2010 01 Iko Iko
|
/home/garrett/media/music/Weezer/Unknown Album: | /media/garrett/6BF6-AC8A/Various Artists/Sentimentally Scotti
total 3452 | total 4160
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | drwx------ 2 garrett garrett 16384 Sep 30 2012 .
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. | drwx------ 17 garrett garrett 16384 May 31 2015 ..
-rw------- 1 garrett garrett 3523780 Oct 13 20:09 Dope Nose.m | -rw-r--r-- 1 garrett garrett 4213637 Sep 30 2012 Scottish S

/home/garrett/media/music/Weezer/Weezer: | /media/garrett/6BF6-AC8A/Various Artists/The Walking Dead_ AM
total 4128 | total 4624
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | drwx------ 2 garrett garrett 16384 Apr 13 2014 .
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. | drwx------ 17 garrett garrett 16384 May 31 2015 ..
-rw------- 1 garrett garrett 4216104 Oct 13 20:09 09 Holiday. | -rw-r--r-- 1 garrett garrett 4686394 Apr 13 2014 04. Be Not
|
/home/garrett/media/music/Weezer/Weezer (Green Album): | /media/garrett/6BF6-AC8A/Various Artists/White Christmas:
total 3964 | total 121520
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | drwx------ 2 garrett garrett 16384 Jan 27 2015 .
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. | drwx------ 17 garrett garrett 16384 May 31 2015 ..
-rw------- 1 garrett garrett 4050621 Oct 13 20:09 04 Island I | -rw-r--r-- 1 garrett garrett 12418726 Jan 27 2015 01. White
| -rw-r--r-- 1 garrett garrett 13637481 Jan 27 2015 02. Jingl
/home/garrett/media/music/Weezer/Weezer (The Blue Album): | -rw-r--r-- 1 garrett garrett 13806906 Jan 27 2015 03. Sleig
total 291128 | -rw-r--r-- 1 garrett garrett 12295613 Jan 27 2015 04. Toyla
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | -rw-r--r-- 1 garrett garrett 14174934 Jan 27 2015 05. A Hol
drwx------ 9 garrett garrett 4096 Sep 30 21:26 .. | -rw-r--r-- 1 garrett garrett 11388864 Jan 27 2015 06. Frost
-rw-r--r-- 1 garrett garrett 26397833 Oct 13 20:09 01. My Nam | -rw-r--r-- 1 garrett garrett 10869096 Jan 27 2015 07. Winte
-rw-r--r-- 1 garrett garrett 23825749 Oct 13 20:09 02. No One | -rw-r--r-- 1 garrett garrett 11538519 Jan 27 2015 08. It's
-rw-r--r-- 1 garrett garrett 33382191 Oct 13 20:09 03. The Wo | -rw-r--r-- 1 garrett garrett 11168870 Jan 27 2015 09. O Lit
-rw-r--r-- 1 garrett garrett 20415234 Oct 13 20:09 04. Buddy | -rw-r--r-- 1 garrett garrett 13014492 Jan 27 2015 10. Deck
-rw-r--r-- 1 garrett garrett 36480710 Oct 13 20:09 05. Undone |
-rw-r--r-- 1 garrett garrett 21841427 Oct 13 20:09 06. Surf W | /media/garrett/6BF6-AC8A/Various Artists - Heroes:
-rw-r--r-- 1 garrett garrett 28937509 Oct 13 20:09 07. Say It | total 31920
-rw-r--r-- 1 garrett garrett 29606457 Oct 13 20:09 08. In the | drwx------ 2 garrett garrett 16384 Nov 15 2012 .
-rw-r--r-- 1 garrett garrett 25256365 Oct 13 20:09 09. Holida | drwx------ 490 garrett garrett 49152 Dec 31 1969 ..
-rw-r--r-- 1 garrett garrett 51905100 Oct 13 20:09 10. Only i | -rw-r--r-- 1 garrett garrett 2951979 Oct 28 2012 02 - Fire
| -rw-r--r-- 1 garrett garrett 4631762 Oct 28 2012 06 - Nine
/home/garrett/media/music/Weird Al Yankovic: | -rw-r--r-- 1 garrett garrett 4846431 Oct 28 2012 07 - Weig
total 28 | -rw-r--r-- 1 garrett garrett 3488399 Oct 28 2012 11 - Jeal
drwx------ 3 garrett garrett 4096 Sep 30 21:26 . | -rw-r--r-- 1 garrett garrett 7241186 Oct 28 2012 16 - Maya
drwx------ 487 garrett garrett 20480 Oct 13 19:54 .. | -rw-r--r-- 1 garrett garrett 9430512 Oct 28 2012 18 - Hero
drwx------ 2 garrett garrett 4096 Oct 13 20:09 Bad Hair Da |
> /media/garrett/6BF6-AC8A/Walter Brennan:
> total 96
> drwx------ 4 garrett garrett 16384 May 28 2015 .
> drwx------ 490 garrett garrett 49152 Dec 31 1969 ..
> drwx------ 2 garrett garrett 16384 May 31 2015 Old Shep
> drwx------ 2 garrett garrett 16384 May 31 2015 Reminiscing
>
> /media/garrett/6BF6-AC8A/Walter Brennan/Old Shep:
> total 176352
> drwx------ 2 garrett garrett 16384 May 31 2015 .
> drwx------ 4 garrett garrett 16384 May 28 2015 ..
> -rw-r--r-- 1 garrett garrett 24065725 May 31 2015 01. Old Sh
> -rw-r--r-- 1 garrett garrett 20760540 May 31 2015 02. Life G
> -rw-r--r-- 1 garrett garrett 19006543 May 31 2015 03. Shifti
> -rw-r--r-- 1 garrett garrett 19393155 May 31 2015 04. Shifti
> -rw-r--r-- 1 garrett garrett 16004176 May 31 2015 05. Back T
> -rw-r--r-- 1 garrett garrett 11288945 May 31 2015 06. I Beli
> -rw-r--r-- 1 garrett garrett 17031037 May 31 2015 07. Six Fe
> -rw-r--r-- 1 garrett garrett 14963981 May 31 2015 08. Tribut
> -rw-r--r-- 1 garrett garrett 20907452 May 31 2015 09. Dutchm
> -rw-r--r-- 1 garrett garrett 17037907 May 31 2015 10. Supper
>
> /media/garrett/6BF6-AC8A/Walter Brennan/Reminiscing With Walt
> total 363344
> drwx------ 2 garrett garrett 16384 May 31 2015 .
> drwx------ 4 garrett garrett 16384 May 28 2015 ..
> -rw-r--r-- 1 garrett garrett 12042949 May 31 2015 01. Dutchm
> -rw-r--r-- 1 garrett garrett 16559379 May 31 2015 02. Life G
> -rw-r--r-- 1 garrett garrett 15497880 May 31 2015 03. The Sh
> -rw-r--r-- 1 garrett garrett 15825743 May 31 2015 04. The Sh
> -rw-r--r-- 1 garrett garrett 13437440 May 31 2015 05. Six Fe
> -rw-r--r-- 1 garrett garrett 9245381 May 31 2015 06. I Beli
> -rw-r--r-- 1 garrett garrett 12984734 May 31 2015 07. Back T
> -rw-r--r-- 1 garrett garrett 11945175 May 31 2015 08. Tribut
> -rw-r--r-- 1 garrett garrett 18938251 May 31 2015 09. Old Sh
> -rw-r--r-- 1 garrett garrett 13591487 May 31 2015 10. Supper
> -rw-r--r-- 1 garrett garrett 15314453 May 31 2015 11. Old Ri
> -rw-r--r-- 1 garrett garrett 13423267 May 31 2015 12. The Ol
> -rw-r--r-- 1 garrett garrett 12872523 May 31 2015 13. Hapy B
> -rw-r--r-- 1 garrett garrett 10013755 May 31 2015 14. Boll W
> -rw-r--r-- 1 garrett garrett 13621546 May 28 2015 15. Track
> -rw-r--r-- 1 garrett garrett 8654019 May 28 2015 16. Track
> -rw-r--r-- 1 garrett garrett 13960246 May 28 2015 17. Track
> -rw-r--r-- 1 garrett garrett 14986579 May 28 2015 18. Track
> -rw-r--r-- 1 garrett garrett 12442138 May 28 2015 19. Track
> -rw-r--r-- 1 garrett garrett 11575572 May 28 2015 20. Track
> -rw-r--r-- 1 garrett garrett 12207476 May 28 2015 21. Track
> -rw-r--r-- 1 garrett garrett 14493280 May 28 2015 22. Track
> -rw-r--r-- 1 garrett garrett 14611890 May 28 2015 23. Track
> -rw-r--r-- 1 garrett garrett 13630219 May 28 2015 24. Track
> -rw-r--r-- 1 garrett garrett 11065033 May 28 2015 25. Track
> -rw-r--r-- 1 garrett garrett 9565527 May 28 2015 26. Track
> -rw-r--r-- 1 garrett garrett 16032349 May 28 2015 27. Track
> -rw-r--r-- 1 garrett garrett 13255154 May 28 2015 28. Track
>
> /media/garrett/6BF6-AC8A/Weezer:
> total 176
> drwx------ 9 garrett garrett 16384 Apr 16 2015 .
> drwx------ 490 garrett garrett 49152 Dec 31 1969 ..
> drwx------ 2 garrett garrett 16384 Jul 5 2014 Green Album
> drwx------ 2 garrett garrett 16384 Jun 28 2014 Red Album
> drwx------ 2 garrett garrett 16384 Jul 11 2012 The Green A
> drwx------ 2 garrett garrett 16384 Jun 28 2014 Unknown Alb
> drwx------ 2 garrett garrett 16384 Sep 24 2012 Weezer
> drwx------ 2 garrett garrett 16384 Sep 24 2012 Weezer (Gre
> drwx------ 2 garrett garrett 16384 Jun 28 2014 Weezer (The
>
> /media/garrett/6BF6-AC8A/Weezer/Green Album:
> total 217600
> drwx------ 2 garrett garrett 16384 Jul 5 2014 .
> drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
> -rw-r--r-- 1 garrett garrett 24342135 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 17592407 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 24413076 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 24088492 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 20311077 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 17001344 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 20154583 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 23818728 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 20623534 Jul 5 2014 Weezer_-_0
> -rw-r--r-- 1 garrett garrett 30360135 Jul 5 2014 Weezer_-_1
>
> /media/garrett/6BF6-AC8A/Weezer/Red Album:
> total 281696
> drwx------ 2 garrett garrett 16384 Jun 28 2014 .
> drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
> -rw-r--r-- 1 garrett garrett 20036436 Jun 28 2014 01. Troubl
> -rw-r--r-- 1 garrett garrett 41668681 Jun 28 2014 02. The Gr
> -rw-r--r-- 1 garrett garrett 23393313 Jun 28 2014 03. Pork a
> -rw-r--r-- 1 garrett garrett 26981054 Jun 28 2014 04. Heart
> -rw-r--r-- 1 garrett garrett 30692400 Jun 28 2014 05. Everyb
> -rw-r--r-- 1 garrett garrett 37491903 Jun 28 2014 06. Dreami
> -rw-r--r-- 1 garrett garrett 22412939 Jun 28 2014 07. Though
> -rw-r--r-- 1 garrett garrett 27364869 Jun 28 2014 08. Cold D
> -rw-r--r-- 1 garrett garrett 22697930 Jun 28 2014 09. Automa
> -rw-r--r-- 1 garrett garrett 35616261 Jun 28 2014 10. The An
>
> /media/garrett/6BF6-AC8A/Weezer/The Green Album:
> total 3456
> drwx------ 2 garrett garrett 16384 Jul 11 2012 .
> drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
> -rw-r--r-- 1 garrett garrett 3494911 Nov 29 2007 01 Photogra
>
> /media/garrett/6BF6-AC8A/Weezer/Unknown Album:
> total 3488
> drwx------ 2 garrett garrett 16384 Jun 28 2014 .
> drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
> -rw-r--r-- 1 garrett garrett 3523780 Dec 31 2007 Dope Nose.m
>
> /media/garrett/6BF6-AC8A/Weezer/Weezer:
> total 4160
> drwx------ 2 garrett garrett 16384 Sep 24 2012 .
> drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
> -rw-r--r-- 1 garrett garrett 4216104 Sep 24 2012 09 Holiday.

/home/garrett/media/music/Weird Al Yankovic/Bad Hair Day: | /media/garrett/6BF6-AC8A/Weezer/Weezer (Green Album):
total 6016 | total 4000
drwx------ 2 garrett garrett 4096 Oct 13 20:09 . | drwx------ 2 garrett garrett 16384 Sep 24 2012 .
drwx------ 3 garrett garrett 4096 Sep 30 21:26 .. | drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
-rw-r--r-- 1 garrett garrett 6149881 Oct 13 20:09 01 - Amish | -rw-r--r-- 1 garrett garrett 4050621 Sep 24 2012 04 Island I
|
/home/garrett/media/music/Whitesnake: | /media/garrett/6BF6-AC8A/Weezer/Weezer (The Blue Album):
total 28 | total 291216
drwx------ 3 garrett garrett 4096 Sep 30 21:26 . | drwx------ 2 garrett garrett 16384 Jun 28 2014 .
drwx------ 487 garrett garrett 20480 Oct 13 19:54 .. | drwx------ 9 garrett garrett 16384 Apr 16 2015 ..
drwx------ 2 garrett garrett 4096 Oct 13 20:09 Whitesnake | -rw-r--r-- 1 garrett garrett 26397833 Jun 28 2014 01. My Nam
> -rw-r--r-- 1 garrett garrett 23825749 Jun 28 2014 02. No One
> -rw-r--r-- 1 garrett garrett 33382191 Jun 28 2014 03. The Wo
> -rw-r--r-- 1 garrett garrett 20415234 Jun 28 2014 04. Buddy
> -rw-r--r-- 1 garrett garrett 36480710 Jun 28 2014 05. Undone
> -rw-r--r-- 1 garrett garrett 21841427 Jun 28 2014 06. Surf W
> -rw-r--r-- 1 garrett garrett 28937509 Jun 28 2014 07. Say It
> -rw-r--r-- 1 garrett garrett 29606457 Jun 28 2014 08. In the
> -rw-r--r-- 1 garrett garrett 25256365 Jun 28 2014 09. Holida
> -rw-r--r-- 1 garrett garrett 51905100 Jun 28 2014 10. Only i
>
 
Old 01-25-2016, 07:43 PM   #2
Garrett85
Member
 
Registered: Jan 2011
Posts: 278

Original Poster
Rep: Reputation: 5
Well crap, it was in two columns of my system.
 
Old 01-25-2016, 08:19 PM   #3
Garrett85
Member
 
Registered: Jan 2011
Posts: 278

Original Poster
Rep: Reputation: 5
So I tried to go ahead and just use rsync to make the directory trees identical and below is what I got. In the text lines is it saying that the music was copied from or to 6BF6-AC8A/ ? Thanks.

rsync -nvr /media/garrett/6BF6-AC8A /home/garrett/media/music/

snippet
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/01 Go My Way.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/02 Home From The Forest.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/03 Fine As Fine Can Be.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/04 Let It Ride.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/05 I'm Not Sayin'.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/06 Bitter Green.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/07 You Are What I Am.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/08 Shadows.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/09 Walls.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/10 Whispers Of The North.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/11 Ten Degrees (Getting Colder).mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/12 Wreck Of The Edmund Fitzgerald.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/13 Early Mornin' Rain.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/14 Whisper My Name.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/15 Sixteen Miles.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/16 Cold On The Shoulder.mp3
6BF6-AC8A/Tony Rice/Sings Gordon Lightfoot/17 Song For A Winter's Night.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/
6BF6-AC8A/Tony Rice/The Rice Brothers/01 Grapes On The Vine.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/02 This Old House.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/03 Original Untitled.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/04 Teardrops In My Eyes.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/05 You're Drifting Away.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/06 Don't Think Twice.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/07 Let It Ride.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/08 Keep The Lamp On Sadie.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/09 Soldier's Joy.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/10 Whisper My Name.mp3
6BF6-AC8A/Tony Rice/The Rice Brothers/11 Life Is Like A Mountain Railway.mp3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
weird sdiff output syntax question farkus888 Linux - General 1 07-13-2007 06:35 PM
Merging Similar Files with sdiff kaplan71 Other *NIX 1 03-20-2007 10:33 PM
sdiff single column? Samsara Linux - Software 0 08-23-2003 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration