![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| check the directory exist | ust | Shell Programming and Scripting | 7 | 09-22-2008 08:49 PM |
| How to check directory exist on servers | weonpc | Shell Programming and Scripting | 2 | 03-06-2008 06:29 AM |
| How to check a file exist and do a copy of other files | ahjiefreak | Shell Programming and Scripting | 6 | 12-20-2007 12:07 AM |
| how to check if directory/file exist using c/c++ | steven88 | High Level Programming | 2 | 01-03-2006 02:55 AM |
| how to check if directory/file exist using c/c++ | steven88 | Shell Programming and Scripting | 1 | 01-02-2006 10:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
We recieve some logs on our windows box via FTP on a daily basis, in the same directory. I would like to check for missing logs files and add their name to a text file.
Something like... Check if C:\logs\file1_currentdate exists (if not, add file1_currentdate to C:\missingfiles_currentdate.txt) Check if C:\logs\file_currentdate exists (if not, add file1_currentdate to C:\missingfiles_currentdate.txt) Check if C:\logs\file3_currentdate exists (if not, add file1_currentdate to C:\missingfiles_currentdate.txt) Note: currentdate above is a variable for current date, and missingfiles_currentdate.txt does not exist, so it need to be created first time It would be great if the above task can be accomplished through a batch file. However other alternatives as welcome as well. Many Thanks, SunnyK |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|