more Xcopy arguments

by

as well as the /E /C /Y options if you want to exclude some then make a file (call it anything you like) such as exclude.txt and inside simply add the extension of the files you want to exclude like this;
.mp3
.mov
.m4a
etc
Each on a new line. Then in the Xcopy argument you simply type /EXCLUDE exclude.txt and it will look to the text file you created for the exclusions.
Nice for a simply backup script where you don’t want to include the users terabytes of music and movies.

Advertisements

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: