Jump to content

Recommended Posts

Posted

Hi I have a floder that I would like to copy all the files and folder to a remote server and then just keep the latest 5 dasys in the original and the remote. I this possible to

 

1, move the new files to the romote location

2, clean up both locations to remove old files?

 

Thanks

Posted
You can use XCOPY with the /D option to copy out the new files you want to keep, then DEL what's left and MOVE the copies back. Note that this will affect the permissions and attributes though.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...