You are not logged in.

#1 2012-04-09 19:49:10

Convergence
Member
Registered: 2005-07-02
Posts: 377

[solved]Rsync and Fat

I have a few music playing devices that require Fat Formatted SD cards or Thumb drives.  (Yes, it absolutely has to be FAT)  I have a directory full of files that changes on occasion, and I would like to use rsync to sync these sdcards and thumb drives to this dir.   The problem is that rsync fully synchronizes each file each time whether it has changed or not.  I do not need for timestamps, links, or ANY linux specific data to be included as criteria for determining whether a file needs to be updated or not.


I have googled and searched this forum, and attempted to follow other people's solutions and have had no luck.  For instance there is this:

https://bbs.archlinux.org/viewtopic.php?id=36276

Which doesn't help me, because he doesn't really say what command he settled on.

then there are these:
http://phoccer.blogspot.com/2010/12/rsy … files.html
http://rsync.samba.org/FAQ.html#2
http://rsync.samba.org/daylight-savings.html

and more that have not worked for me.

Here are some of the commands that I have tried:





rsync -rlv --delete
rsync -rt $source &target
rsync -rtv $source &target
rsync -rlv --delete --modify-window=1
rsync -rlv --delete
rsync -rl --delete
rsync -vri --modify-window=3601 --delete
rsync -vri --modify-window=1 --delete

and many many more. 

I've read the man page, thought that I understood what combination of switches I needed, and was defeated each time. 

Has anyone successfully done this?  Thanks for the help.



Edit:  Grammar

Last edited by Convergence (2012-04-09 20:14:19)


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#2 2012-04-09 19:57:37

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: [solved]Rsync and Fat

LOL, seconds after that exasperated post, I figured it out:

rsync -vri --size-only --delete /dir1/  /dir2/

maybe this post will be usefull to someone else.


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

Board footer

Powered by FluxBB