Search found 4 matches
- 26 Apr 2012 03:46
- Forum: DOS Batch Forum
- Topic: Compare two folders and get new and modified file names
- Replies: 9
- Views: 8312
Re: Compare two folders and get new and modified file names
Yipee !! I have got it.. Just a small line to be added .. -------------------------------------------------------------------------------------------- for /f "delims=" %%a in ('dir /b/a-d "C:\TFSworkspace\Scripts"') do ( if exist "C:\TFSworkspace_pre\Scripts\%%a" ( fc &...
- 25 Apr 2012 23:40
- Forum: DOS Batch Forum
- Topic: Compare two folders and get new and modified file names
- Replies: 9
- Views: 8312
Re: Compare two folders and get new and modified file names
Thanks for the help !! But, if I understand the scripts correctly, they are finding the files based on the modifiaction time. As all the files are get from TFS on the local system, the modification date and time will be same. I want something like fc command which displays the name of the files thos...
- 25 Apr 2012 08:02
- Forum: DOS Batch Forum
- Topic: Compare two folders and get new and modified file names
- Replies: 9
- Views: 8312
Re: Compare two folders and get new and modified file names
Actually I have two folders eg C:\TFSworkspace --> which have latest files C:\tfs\ --> which has some old files So, out of these, some are identical files, some are modified files and some are new. So I need these modified and new files to be executed in some test env. That's why I need the list of ...
- 25 Apr 2012 03:14
- Forum: DOS Batch Forum
- Topic: Compare two folders and get new and modified file names
- Replies: 9
- Views: 8312
Compare two folders and get new and modified file names
Hi, I want a shell script which compare two folders (with some similar files) and get new files and the files which are modified. It will be good if the new and the modified files moved to third folder. I have the following script, which identifies the new script and find the comarision of the files...