Batch script to copy all files but those in a list -



Batch script to copy all files but those in a list -

i looking write script re-create files contained in list. new @ found opposite of want...

@echo off set src_folder=c:\source\ set dst_folder=c:\destination /f "tokens=*" %%i in (list.txt) xcopy /s/e/u "%src_folder%\%%i" "%dst_folder%"

i backing folder total of files need skip few unimportant me.

i thought work. must have made error...

@echo off set src_folder=c:\source\ set dst_folder=c:\destination\ xcopy /s/e/u "%src_folder%\%%i" "%dst_folder%" /exclude /f "tokens=*" %%i in (c:\list.txt)

try

xcopy .... /exclude:list.txt

see

xcopy /?

from prompt documentation

batch-file

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -