![]()
[<<]Message[>>] [<<]Author [<<]Subject[>>] [<<]Thread[>>]
Number : 4137 Date : 2003-03-25 Author : artisticcheese Subject : Re: How to remove files older then 30 days? Size(KB) : 1
Thanks, I found that if I needed to put /ED switch to preserves emtpy directories. What I'm trying to accomplish is to remove all files older then 30 days from all subdirectories and move them to destination folder. I don't want to delete folders though even if they are empty. So far I come up with following command line to accomlish that. Wante to check if there is something missing here and it would delete stuff which is not intented. xxcopy e:\inetpub\ftproot\ e:\xxcopy\temp\ /RC/FC/DB#31/S/ED/PD0 --- In xxcopy@yahoogroups.com, Chaz Cone wrote: > ArtisticCheese (gosh, I prefer real names): > > It's doing exactly what you asked it to do. > > The /RC switch apparently defaults to /RCP which removes the source after a > successful operation. Take that out. > > The easy way to find out what XXCOPY is going to do before it does it is to > run the command with /? at the end. It will display the effect of the > other switches. That's what I did to debug your problem. > > Chaz > > > At 01:22 PM 3/25/2003, artisticcheese@y... wrote: > >Hello, > > > >I'm trying to copy away files which are older then 30 days with > >following command > >xxcopy e:\inetpub\ftproot\ e:\xxcopy\temp\ /RC/FC/DB#31 > >For whatever reason xxcopy tries to delete root folder and all > >subfolders upon execution of this command. what am I doing wrong?
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.