Re: Ooops, need a one liner!

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ryan Rix
Date:  
To: Main PLUG discussion list
Subject: 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