Re: Ooops, need a one liner!

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Ryan Rix
日付:  
To: Main PLUG discussion list
題目: Re: Ooops, need a one liner!
On Fri 3 July 2009 4:14:52 pm Joseph Sinclair wrote:
> mkdir ~/ogg-music
> cd ~/music
> find * -type d -exec mkdir -p ../music-ogg/'{}' \;
> find * -name '*.ogg' -exec mv '{}' ../music-ogg/'{}' \;
>
>
> Be sure to preserve the quoting above or it may not work...


Sweet! I tried something similar (in one find, which failed hardcore) but that
worked! Thanks!
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss