Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Lounge

Notices

Reply
 
Thread Tools Search this Thread
Old 01-01-2005, 10:52 PM   #1
Bob Russell
Recovering Gadget Addict
Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.
 
Bob Russell's Avatar
 
Posts: 5,381
Karma: 676161
Join Date: May 2004
Location: Pittsburgh, PA
Device: iPad
Help with XCOPY for card backup?

I'm trying to use XCOPY from a command line window in WinXP to do backups of my Pocket PC's SD memory card onto my PC hard drive (using a card reader).

The card reader shows the SD card's contents on my K:\ drive.

I want to use a command like...
Quote:
xcopy K:\*.* C:\CurrentSDCardBackup /s /e /h /v /EXCLUDE:K:\My Documents\Pocket e-Sword\*
to copy everything except the Pocket e-Sword directory because it is static and very large.

(I also want to add additional exception directories if possible, but this single directory will really make the biggest difference for the time it takes to do backups.)

But I can't even get the syntax to work. Can anyone help me out?

Thanks.
Bob Russell is offline   Reply With Quote
Old 01-01-2005, 11:21 PM   #2
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 617
Karma: 2561
Join Date: Feb 2003
Location: East Lyme, CT
Device: Direct Neural Implant
How about a real tool... rsync! I'm sure there's a detailed set of docs on how to use it on your platform.
Code:
rsync -avzSP <source>
On a real machine (i.e. not Microsoft Windows), you can use it as follows:
Code:
 rsync -avzSP user@machine_one:/path/to/file user@machine_two:/destination/dir
I'm a heavy user of rsync, and I'm sure I can help you out with your difficulties. It can do a lot of things, including snapshot backups if you want it to.

rsync is so many orders of magnitude better than any "copy" mechanism. Once you use it, you'll get hooked.
hacker is offline   Reply With Quote
Old 01-02-2005, 07:53 AM   #3
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by BobR
xcopy K:\*.* C:\CurrentSDCardBackup /s /e /h /v /EXCLUDE:K:\My Documents\Pocket e-Sword\*
I can't find enough detail on the EXCLUDE switch to say but I have the follow guesses:

1. _Perhaps_ EXCLUDE want "filenames" and not "pathnames". The command's help text uses the term "filenames". You might try omitting the "K:\" in the EXCLUDE section.

2. The last "*" means files without any extension! Is that what you mean or should it be "...\*.*" for "all files regardless of extension"?

good luck
dwig is offline   Reply With Quote
Old 01-02-2005, 11:41 AM   #4
Bob Russell
Recovering Gadget Addict
Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.Bob Russell ought to be getting tired of karma fortunes by now.
 
Bob Russell's Avatar
 
Posts: 5,381
Karma: 676161
Join Date: May 2004
Location: Pittsburgh, PA
Device: iPad
Quote:
Originally Posted by dwig
2. The last "*" means files without any extension! Is that what you mean or should it be "...\*.*" for "all files regardless of extension"?
Thanks dwig. I do think it's the filename that's messing me up. Either it doesn't like wildcards, or I'm using them wrong. Hmm maybe even the spaces and dashes are a problem.

I think I'll check out that rsync program that Hacker suggested a try...
Bob Russell is offline   Reply With Quote
Old 01-22-2005, 05:11 AM   #5
Unregistered
Nameless Being
 
How exclude works

You must create a text file and put the excludes in there, then specify the text file in your xcopy command. Very wierd.

e.g.

exclude.txt

\This\
\That\


xcopy *.* g:\ /exclude:exclude.txt
  Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you backup? Adoby General Discussions 13 07-25-2010 09:09 PM
Backup - how??? vxf Sony Reader 0 06-23-2010 11:22 AM
If I get an sd card reader, will it read my sd card? clerky96 Ectaco jetBook 22 02-17-2010 03:24 PM
XD card got stuck in my laptop media card reader xiaoshasha Introduce Yourself 5 09-08-2007 04:14 AM


All times are GMT -4. The time now is 06:00 PM.


MobileRead.com is a privately owned, operated and funded community.