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

Re: Dateinamen kürzen



Am 2006-06-29 23:13:15, schrieb Frank Terbeck:
> for file in *.tar.gz.done ; do mv -i $file ${file%.done} ; done

Uff... - Das verändert die "ctime" und "mtime"!

Wie währe es mit:

    find -type f -name "*.done" -exec rename "s/\.done//" {}';'

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: