[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unix Command Line - Find Command
On Saturday, November 3, 2012 8:43:08 AM UTC-6, gid...@sasktel.net wrote:
> > Now, if FIND puts some constant text--even a punctuation mark--in front of
> > each pathname in the generated text file, then a "replace all" will put the
> > desired command into what will be an EXEC file...
> I put the file type in front of the prefix in the text file which makes a good constant to search for and replace all.
> Rob
I mean, I didn't put it there manually. The file type gets saved in the text file from the FIND command. The worst case scenario is when you find by file name and not by type. You will have to replace 3-4 different file types in the text file. The most common being BAS, TXT, BIN and SYS. A folder may also show up quite a bit but usually you would not want some action to take place on a folder, so that prefix may need to be deleted from the text file.