[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SOLVED] [OT] perlexpr : Rekursive Entfernung einzelner Zeichen aus Datei- und Ordnernamen mit find & rename



Am Samstag, 7. November 2009 schrieb DIrk Wernien:
> Moin,
> da ist nun noch die Frage wie ich:
>
> '
> und
> `
> escapen/quoten kann?

Am Sonntag, 8. November 2009 schrieb Christoph Conrad:
> Hallo dirk,
>
> So klappt es, als Beispiel:
>
> cc@~/tmp> touch "jjj'kkk"
> cc@~/tmp> find ./ -name "*'*"
> ./jjj'kkk
> cc@~/tmp> find ./ -name "*'*" -exec rename -v  "y/'/_/" '{}' \;
> ./jjj'kkk renamed as ./jjj_kkk
>
> Freundliche Grüße,
> Christoph

Vielen Dank
dirk

-- 


Reply to: