Windows batch script: move files that contain duplicate lines -


thank in advance help.

i requesting batch script can run in windows xp. script should search folder containing multiple files , in each file see if there duplicate lines in file. , if there is, file moved new folder.

the script below know works move string new folder:

for %%a in (c:\test*) (findstr /c:"string" "%%a" >nul && move /y "%%a" "c:\new folder")

this extent of knowledge when comes scripts.

could please have built on instead searching specific string, identify if there duplicate lines? goes without saying each line should unique, otherwise need move file new folder.

thanks again assistance


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -