New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

rsync deletes non existent files!

Post Reply New Thread Subscribe

Thread Tools

Member Since: Dec 04, 2007
Posts: 11
qprfact is on a distinguished road

qprfact is offline
This one really has stumped me. I have a very simple rsync script to copy my iTunes library over to my server running Ubuntu.

This is the script:

rsync --progress /usr/bin/ssh -ave --stats --delete --exclude ".*" ~/Music/iTunes/"iTunes Music"/ /Volumes/1tb/"iTunes Music"

That's all there is!

Now, every time I run this, it copies files over no problem, it deletes files no problem, but it also tells me it is deleting a whole bunch of podcast files. But they are still there!

Here's some typical output as the script is running:

deleting WNYC's Radiolab/
deleting WNYC's Radio Lab/The Wright Brothers (Radio Lab).mp3
deleting WNYC's Radio Lab/The (Multi) Universe(s).mp3
deleting WNYC's Radio Lab/Tell Me A Story.mp3
deleting WNYC's Radio Lab/Space Capsules (Radio Lab).mp3
deleting WNYC's Radio Lab/Shorts_ 16_ Moments.mp4
deleting WNYC's Radio Lab/Quantum Cello.mp3
deleting WNYC's Radio Lab/Pop Music.mp3
deleting WNYC's Radio Lab/Open Outcry.mp3
deleting WNYC's Radio Lab/Making the Hippo Dance.mp3
deleting WNYC's Radio Lab/Making Radio Lab.mp3
deleting WNYC's Radio Lab/Emergence.mp3
deleting WNYC's Radio Lab/Detective Stories (Radio Lab).mp3
deleting WNYC's Radio Lab/Deception.mp3
deleting WNYC's Radio Lab/Contact (Radio Lab).mp3
deleting WNYC's Radio Lab/City X.mp3

What I *suspect* happens is that the copy functionality makes some sort of hidden directory on 1TB/iTunes Music for each podcast, then when the script is run again it sees these, thinks "they aren't on source drive" and promptly deletes them.

Has anyone else encountered this? I know it's not doing any real harm, but it is just rather infuriating!

I should say I also have rysnc scripts for documents and photos using pretty much the same syntax, and I do not get a similar situation there.
QUOTE Thanks

Post Reply New Thread Subscribe

« OS 10.6 screensavers - snow leopard 64 bit | Teach me how to Customize Mac OS X »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
converting mkv to avi files is the bane of my mac existence thinkblot Movies and Video 2 10-16-2009 12:36 PM
Files renamed to Unix how to fix this hollinger Other Hardware and Peripherals 0 03-02-2009 05:21 AM
Why are files renamed to unix and how to fix it hollinger OS X - Operating System 0 02-18-2009 06:14 AM
Mac randomly deletes files... help?! MackyToshy OS X - Operating System 1 01-03-2008 01:35 AM

All times are GMT -4. The time now is 02:48 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?