Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Trying to find file in DOS through
Name: Jay09 Date: April 14, 2009 at 23:35:49 Pacific OS: Windows XP Subcategory: Batch
Comment:
Need help locating a file through DOS using FTP. There are so many directories until i have exhausted all possibles. Please help with a command or batch that will search the UNIX server for either the latest created files or a partial name of the file.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 3
Name: ghostdog Date: April 15, 2009 at 02:01:44 Pacific
Reply:
OP wants to "search" directories. I don't think simply listing out the current directory is enough. anyway, don't think FTP is the right method to use.
Name: Mechanix2Go Date: April 15, 2009 at 02:23:08 Pacific
Reply:
Call me crazy but doesn't ls -alR get ALL the file names?
And most public access sites won't allow telnet or rlogin without user and pass.
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 5
Name: ghostdog Date: April 15, 2009 at 02:44:19 Pacific
Reply:
yes it does. if you are talking about searching the filenames AFTER the FTP, then i guess you can use this method. I am talking about searching the files when inside the FTP session, where OP can use grep etc to search for file names. Even better, if only he can use find command. That's why i propose telnet/SSH instead of FTP.
Summary: Hi I am trying to get a batch file to delete files which has dates older than 7 days so far I have @ECHO OFF CLS FOR /R C:\User_share %%FILE IN (*.*) DO ( ECHO starting if IF(0 == (ISDATE %%~zFILE bef...
Summary: I am trying to write a batch file in DOS which will do the following: Step 1: Copy some files(like for example a.txt, b.txt, c.txt) from a disk location C:/ Step 2: Put the above copied files to a dis...
Summary: Hello all, I've been trying to get a batch file that will go to a specified directory count the number of files (any file and a files with a specific extension, we're searching multiple dir's) and...