PiRSquared17 / flac2all

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

If I enable to copy non flac files, the program copies over my .sync folder and ruins my btsync share #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable to copy non flac files
2. Have two btsync shares running both on the flac and the converted media 
folder
3. The program then copies the .sync folder and ruins the share

Would it be possible for you to just to make it possible to define the 
extensions that we want to have copied? For example, only copy .jpg files 
(covers), so it does not mess with non-music related folders?

Original issue reported on code.google.com by gajus...@gmail.com on 19 Jan 2015 at 6:00

GoogleCodeExporter commented 9 years ago
Hmm, some sort of input filters for the copy command would be useful. 

I should probably make it work on all input files. 

Original comment by i...@ziva-vatra.com on 21 Jan 2015 at 2:26

GoogleCodeExporter commented 9 years ago
Thank you, hopefully you'll implement this feature soon, so I can start using 
your program again :)

Original comment by gajus...@gmail.com on 21 Jan 2015 at 2:31

GoogleCodeExporter commented 9 years ago
Ok, revision 61 is the first version that support excluding input files by a 
pattern (standard regular expressions). New switch is added in the program:

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

In your case, if you add  -x "\.sync" to your command line, it should skip 
everything with ".sync" in the path. 

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:49