[wplug] script question
Zach
netrek at gmail.com
Fri Jan 19 23:44:28 EST 2007
On 1/19/07, Michael Semcheski <lists at immuneit.com> wrote:
>
> What I would do:
>
> find . -iname '*.htm' -exec dos2unix {} {} \;
>
> or
>
> find /home/zach/txt -iname '*.htm' -exec dos2unix {} {} \;
>
> Find each file in /home/zach/txt which has a name that matches the (case
> insensitive) regular expression *.htm. For each file found, run the
> program 'dos2unix file1 file1'. (The {} is replaced with the name of
> the found file. The ; ends the command. You need to escape the semicolon.)
That works great. Thanks I never understood what {}{} meant.
> What else ya got?
That's all for now :)
Zach
More information about the wplug
mailing list