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

Re: Bill Gs Rache - Leerzeichen in Dateinamen



Stefan Keul <st.keul@gmx.de> writes:

> ich habe hässlicher Weise Datei- und Verzeichnisnamen mit Leerzeichen. 
> Ich möchte zB einfach alle Verzeichnisse chmod +x machen. Was ich so 
> probiert habe:
> 
> chmod +x $(find . -type d )
> chmod +x $(find . -type d -print0)
> chmod +x $(find . -type d -print)
> chmod +x $(find . -type d -printf "'%f'\n")
> chmod +x $(find . -type d -printf "\"%f\"\n")

find . -type d -exec chmod +x \{} \;
find . -type d -print0 | xargs -0 chmod +x


HTH

 Heike



Reply to: