PiRSquared17 / flac2all

Automatically exported from code.google.com/p/flac2all
0 stars 0 forks source link

Skip other audio files with -c (mp3, wav, etc.) #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is more of a feature request:
Can you include an option to skip defined files?

I can try to add this option myself, if I get somewhere I’ll upload the 
script here.

Original issue reported on code.google.com by Ephro...@gmail.com on 8 Nov 2012 at 7:27

GoogleCodeExporter commented 9 years ago
Changed type to enhancement.

It could be done, probably will put it under "-x" option, for "eXclude".

Original comment by i...@ziva-vatra.com on 9 Nov 2012 at 3:48

GoogleCodeExporter commented 9 years ago
Note that I would have a related enhancement request : Be able to include only 
certain patterns to be copied over. In my case, it's because I don't want any 
of the original non-music files (nfo file, cue file referencing *.flac files, 
multiple artwork files), except for "cover.jpg" if present.

Extra added bonus : Replace ".flac" in file names with the relevant extension 
inside *.cue files when copying them over :-) ... in that case, I'd want to 
tell flac2all to include only "cdcover.jpg" and "*.cue".

Original comment by matthias...@gmail.com on 14 Jul 2013 at 4:10

GoogleCodeExporter commented 9 years ago
Well, revision 61 supports to exclude files with the -x option:

  -x EXCLUDE, --exclude=EXCLUDE
                        exclude certain files from processing by PATTERN
                        (regular expressions supported)

The switch understands regular expressions, so you can filter the input path as 
you wish. 
Please verify and let me know if it works for you, or if you get any errors. 

Thanks! 

Original comment by i...@ziva-vatra.com on 9 Feb 2015 at 3:50