Re: [Hampshire] Selective file copy

2014-02-05 Thread Keith Edmunds
On Wed, 5 Feb 2014 08:55:32 +, lugaddr...@gmail.com said: > I have converted the > FLACs into MP3s using that as the output folder (there wasn't enough room > on the NAS to do them in-situ). Next time, you need mp3fs (http://khenriks.github.io/mp3fs/), which transcodes FLAC to MP3 on the fly.

Re: [Hampshire] Selective file copy

2014-02-05 Thread LUG
Thanks to Jan and Simon, those both sound startlingly simple! Cheers, Keith On 5 February 2014 09:48, Jan Henkins wrote: > Hello Keith, > > On 2014-02-05 08:55, LUG wrote: > [snip] > > > This is made more complicated by the fact that the /media/data/MP3 >> folder already has the Artist/Album/

Re: [Hampshire] Selective file copy

2014-02-05 Thread Jan Henkins
Hello Keith, On 2014-02-05 08:55, LUG wrote: [snip] This is made more complicated by the fact that the /media/data/MP3 folder already has the Artist/Album/tracks structure in it as I have converted the FLACs into MP3s using that as the output folder (there wasn't enough room on the NAS to do th

Re: [Hampshire] Selective file copy

2014-02-05 Thread Simon Reap
Something like: cd /media/nas/music find . -name \*.mp3 | while read nam; do mkdir -p "/media/data/MP3/$(dirname $nam)" cp "$nam" "/media/data/MP3/$nam" done On 02/05/2014 08:55 AM, LUG wrote: Hello all, I'm hoping to call on the group's collective bash-fu to come up with an incantation th

[Hampshire] Selective file copy

2014-02-05 Thread LUG
Hello all, I'm hoping to call on the group's collective bash-fu to come up with an incantation that will make this task a lot easier. The situation is: - Nas drive at /media/nas/music which contains music files as /Artist/Album/<>. - Data drive at /media/data/MP3 which then has the same /Artist