[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SLUG] Re: recursive %20 to " "
On Mon, Jun 26, 2000 at 08:56:33AM +1000, Angus Lees wrote:
> find /dosdir -print | `sed 'h;s/%20/ /g;s/%40/@nospam./g;t c;d;:c x;s/.*/mv & /;G'`
i just realised this one won't actually work for renaming more than
one file (oops).. have to go with my original plan:
find /dosdir -print |sed 'h;s/%20/ /g;s/%40/@nospam./g;t c;d;:c x;p;g' |xargs -n2 mv
--
- Gus
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text