LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-03-2008, 07:05 AM   #1
dougnc
Member
 
Registered: Apr 2005
Posts: 236

Rep: Reputation: 31
Copying changed files to USB.


Here's the deal. I'm trying to move from an XP conputer to a Linux notebook. I have an 8gb usb memory stick. What I'd like to do is find a program that runs under both XP and Linux that will keep a development directory on my memory stick always up to date. I would copy the entire development directory to the memory stick. Then before I go home I would run this program to copy over the changed files. Then I would do the same thing on my Linux notebook.

Any suggestions?
 
Old 01-04-2008, 05:19 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
In Linux there is rsync. It synchronizes to directories including subdirectories.

In Windows there is Briefcase, which I thought does the same job of synchronizing. But briefcase chokes if your sync directories are too large. Before I moved away from Windows 4 years ago I used FolderMatch.

jlinkels
 
Old 01-04-2008, 01:23 PM   #3
dougnc
Member
 
Registered: Apr 2005
Posts: 236

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jlinkels View Post
In Linux there is rsync. It synchronizes to directories including subdirectories.

In Windows there is Briefcase, which I thought does the same job of synchronizing. But briefcase chokes if your sync directories are too large. Before I moved away from Windows 4 years ago I used FolderMatch.

jlinkels
I don't suppose there's a gui version of rsync.

FolderMatch isn't very intuitive. This is my development directory. I'd be in deep dodo if I screwed in up.
 
Old 01-12-2008, 03:37 PM   #4
dougnc
Member
 
Registered: Apr 2005
Posts: 236

Original Poster
Rep: Reputation: 31
I've been using cwrsync to back up my development system to the USB stick. It works very nicely.
 
Old 03-11-2008, 04:23 AM   #5
cioannou
LQ Newbie
 
Registered: Apr 2005
Location: Athens-Greece
Distribution: Mandrake 10.1CE
Posts: 28

Rep: Reputation: 15
Hi,

I have a similar problem but the case is:

Rsync from SMB mount -> NTFS-3G mount.

It seems that everytime it wants to sync all files, is there any way to grab only the changed/new files?
 
Old 03-11-2008, 06:00 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
That the intention of rsync:
Code:
rsync -auv /sourcedir/ /destdir
I don't know how you have access to the NTFS partition, but if it is through SMB it should recognize file times as well.

jlinkels
 
Old 03-11-2008, 11:07 AM   #7
cioannou
LQ Newbie
 
Registered: Apr 2005
Location: Athens-Greece
Distribution: Mandrake 10.1CE
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by jlinkels View Post
That the intention of rsync:
Code:
rsync -auv /sourcedir/ /destdir
I don't know how you have access to the NTFS partition, but if it is through SMB it should recognize file times as well.

jlinkels
Thanks a lot for the answer.

NTFS disk is mounted using ntfs-3g and the disk is locally connected to my system.
 
Old 03-11-2008, 11:17 AM   #8
cioannou
LQ Newbie
 
Registered: Apr 2005
Location: Athens-Greece
Distribution: Mandrake 10.1CE
Posts: 28

Rep: Reputation: 15
It seems to be working better by using the --modify-window option. Although it grabs a few files that haven't changed for weeks , it's still better than grabing the whole folder structure.
 
Old 03-12-2008, 12:13 PM   #9
dougnc
Member
 
Registered: Apr 2005
Posts: 236

Original Poster
Rep: Reputation: 31
SMB changes the checksums somehow. There's an option for rsync to go off of date/time.

Actually, it might be the other way. You have to use the option for checksum rather than date/time.
 
  


Reply



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
Copying whole changed files - rsync? deadlock Linux - Software 2 12-04-2007 04:57 AM
copying files to /proc/bus/usb ic_torres Linux - Newbie 8 10-09-2007 06:56 AM
copying files from my home directory to my USB Flash Disk neo_phyte Red Hat 9 04-24-2006 12:32 AM
problems copying files to USB mcang Linux - Hardware 1 08-05-2005 06:55 PM
Problems copying files from USB camera Lul2x Linux - Hardware 1 04-18-2004 09:47 PM

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

All times are GMT -5. The time now is 12:48 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
Open Source Consulting | Domain Registration