l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2007 Oct 19 12:44

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Copying data from Windows share to Linux server *with*original date stamps and permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Copying data from Windows share to Linux server *with*original date stamps and permissions

Richard Burkhart wrote:
Anyone have suggestions on a set of shell commands I can pipe together to:
- Batch transfer multiple files & directories from a windows (server 2000) machine onto a Linux machine
- Maintain as many of the original file permissions as will make it across the samba link
- Maintain the original file save dates from the windows side (the first time I did a mass cp, it changed all the target-file dates to the day of the copy)
- Set the archive bit on the source media, so that if I have to do this again to catch updates I can just grab updated files.

Last night google led me to a website describing a way to start with tar, pipe that output to a couple of commands to transfer to the new machine, then un-tar it out to the new drive. Unfortunately, I can't find that page again -- and until I go home, I won't be able to check my browser history.

Suggestions? Help? Por favor?

Richard B.
You might want to check out rsync. Something like "rsync -vrt" will at least save preserve the time information.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.