itgeek Posted February 26, 2010 Posted February 26, 2010 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
waldronm2000 Posted February 26, 2010 Posted February 26, 2010 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now