[<<]Message[>>]    [<<]Author[>>]    [<<]Subject[>>]    [<<]Thread[>>]

Number : 3293 Date : 2002-12-13 Author : Kan Yabumoto Subject : Re: Trying to use /RX Size(KB) : 3
Tait: I notice that the first XXCOPY command with the /RX switch, you may want to add /S/H/R. The /S switch is to make sure the files in subdirectories whose counterpart in the source directory is no longer present. Similarly, /H is necessary to handle hidden files (the /CLONE operation include hidden/system files and therefore, it is expected that the backup directory may contain such files). For the same reason, /R should be there. Again, /CLONE operation may save a read-only file into the destination and by the virtue of /KS switch in the /CLONE switch-set, such a read-only file will be saved in the backup directory as a read-only file. Therefore, when you try to purge a read-only file in the /RX operation, such a read-only file will resist being deleted. That is what /R switch is for. I'm pretty sure that in typical user-environment like that, most files do not have exotic file attributes like hidden/system or read-only. But, adding /H/R will make it more bullet proof. Oh, yes, one way or another, /S should definitely be there. I suppose your remark about the subdirectory was for the first xxcopy command (/RX). The second one (/CLONE) should handle subdirectories because /CLONE has /E in it which is a glorified /S (go down to subdirectories) where even empty directories will be copied. BTW, I do not own a Palm gadget, and you are the first person who talked about using XXCOPY for backing up Palm files. But, I gather the F:\Palm\ directory is not really on your Palm machine but rather a result of a preliminary step which synchronizes the files inside the Palm machine to the F:\Palm directory on your desktop machine. Still, I'm quite curious as to what kind of flavor that Palm-originated files bring in. That is, I have a few questions with regard to the Palm file system. 1. what is the legal character set for the Palm system? 2. does it allow a space character in a filename? 3. what is the longest filename length? 4. if some characters in Windows filename (some crazy character such as , ; ( ) { } ! @ !, etc.) are not permitted in the Palm file system, what kind of filename-conversion does the sync utility perform? Anyway, being a file system designer (I once designed the DATMAN file system for tape-based volume --- see www.datman.com), I'm very interested in the Palm system, yet I don't have compelling reason to buy it just to find these things out. Kan Yabumoto ============================================================ At 2002-12-12 22:15, you wrote: >Hello everyone. Here is the script I am using in my batch file: > >Del RemoveLog.txt >Del BackupLog.txt >xxcopy.exe "f:\Palm\KjellbT\" "C:\Palm\KjellbT\" /RX /YY /OA"RemoveLog >.txt" >xxcopy.exe "f:\Palm\KjellbT\" "C:\Palm\KjellbT\" /CLONE /FF /YY /OA"Ba >ckupLog.txt" > >It does not appear to be going down the subdirectories. Actually, I >know it is not. What am I doing wrong here. I am trying to initially >remove any files that do not exist on the src, then run the backup. > >Thanks! > >Tait
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.