![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 3295 Date : 2002-12-13 Author : taitkj Subject : Re: Trying to use /RX Size(KB) : 6
Kan, Thanks for the quick reply. BTW, I am still VERY new with XXCOPY, but think it is a great product! I saw the /S in the reference guide, but took the definition: "Copies directories and subdirectories, including empty ones." to mean this could only be used to copy files, not remove them. Yeah, my question regarding /RX was for the first statement. The /CLONE portion works well. Chaz (from this board) was very helpful yesterday in getting that statement worked out for me. Backing up my Palm data is sort of redundant. It is stored on my Palm device and at work, so the loss of the data on my home computer is not a show stopper. As to your questions: > 1. what is the legal character set for the Palm system? Not sure exactly what you mean legal character set. > 2. does it allow a space character in a filename? See below for a sample of the directory structure as an example of the various files. There are no spaces, just underscores. Directory of F:\Palm\KjellbT 12/09/2002 07:31 PM . 12/09/2002 07:31 PM .. 11/25/2002 08:10 PM AcctMgr 12/09/2002 07:30 PM address 10/30/2002 05:51 PM Archive 07/10/2002 08:10 PM Archived_Files 12/09/2002 07:31 PM Backup 02/04/2002 05:20 PM 9 BB.prf 12/09/2002 07:30 PM datebook 12/09/2002 07:31 PM 4,520 HotSync.Log 12/02/2002 12:22 AM Install 07/10/2002 08:10 PM MAL 12/09/2002 07:30 PM memopad 12/09/2002 07:30 PM 208 PQ20Prefs.txt 12/09/2002 07:29 PM 121 sync.ini 12/09/2002 07:30 PM todo 10/17/2002 08:21 PM 6 xtrauser.dat 5 File(s) 4,864 bytes Directory of F:\Palm\KjellbT\Archive 10/30/2002 05:51 PM . 10/30/2002 05:51 PM .. 06/25/2002 06:46 PM 295,593 AvantGo.PRC 05/17/2002 04:09 PM 1,653 CASL_Palm_Utils.PRC 01/20/2002 02:49 PM 1,761 Chinese_Dynasties.PDB 01/20/2002 02:48 PM 1,072 Cord_Current_Capabilities.PDB 02/04/2002 05:22 PM 487,952 DateBk4.PRC 02/04/2002 05:20 PM 80 Datebk4DB.PDB 05/17/2002 04:10 PM 1,352 DiveBuddyNotes.PDB 05/17/2002 04:10 PM 177,620 Dive__Buddy.PRC 8 File(s) 734,637 bytes Directory of F:\Palm\KjellbT\Backup 12/09/2002 07:31 PM . 12/09/2002 07:31 PM .. 10/17/2002 08:20 PM 8,695 Linux_Today_- _Linux_News_On_Int.PDB 06/25/2002 06:43 PM 837 Math_Reference_Sheet.PDB 10/10/2002 07:43 PM 396 Math_Reference_SheetEx.PDB 10/10/2002 07:43 PM 204 Math_Reference_SheetKz.PDB 4 File(s) 10,240 bytes > 3. what is the longest filename length? It depends on the name used in the Palm itself. I am not sure if there is a limitation. I have never encountered one. > 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? It appears to use an underscore for a space. Other than that, I am not sure. I do not do any development on the Palm, just use it all the time and do some QA stuff on one at work. > BTW, I do not own a Palm gadget, and you are the first person > who talked about using XXCOPY for backing up Palm files. Kind of overkill. I could probably lose that from my backup batch file. > 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. That is correct. I really need to start seeing if this will work for me at work. I have about 10 servers I manage for our software testing process. XXCOPY could be useful in keeping directory structures in tact from server to server. Thanks again Kan. Tait --- In xxcopy@yahoogroups.com, Kan Yabumoto wrote: > > 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"RemoveLo g > >.txt" > >xxcopy.exe "f:\Palm\KjellbT\" "C:\Palm\KjellbT\" /CLONE /FF /YY /OA"B a > >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.