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

Re: Skript zum löschen leerer Ordner



Am 2009-01-19 15:05:09, schrieb Tobias Nissen:
> Florian Weimer wrote:
> > find . -exec rmdir {} \;
> Statt mehrfach aufrufen einfach ein -depth voranstellen. Etwas sauberer
> wirds noch mit -type d -- aber Fehlermeldungen bekommt man ja trotzdem.
> Also vielleicht einfach 2>/dev/null ranhängen :-)

    man rmdir

    --ignore-fail-on-non-empty


Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: