Closed michieldewit closed 10 years ago
Yes please, +1
I've made a commit on the f2fignore branch that implements this https://github.com/richq/folders2flickr/tree/f2fignore - take a look if this is what you had in mind. It's like a poor-man's ".gitignore", working only on the directory where the file is (though it culls sub-dirs in that directory IYSWIM). It does allow glob patterns which I think would be useful to e.g. ignore movies in the current dir.
If I don't hear any complaints I'll merge that into the master branch after a few days to mull it over.
Change looks great! Not sure whether the 'empty .f2fignore file makes f2f ignore whole directory' is analogous with the way .gitignore works. I think I would expect an empty file to do nothing. Will test when I get back home.
On Mon, Mar 17, 2014 at 9:27 PM, Richard Quirk notifications@github.comwrote:
I've made a commit on the f2fignore branch that implements this https://github.com/richq/folders2flickr/tree/f2fignore - take a look if this is what you had in mind. It's like a poor-man's ".gitignore", working only on the directory where the file is (though it culls sub-dirs in that directory IYSWIM). It does allow glob patterns which I think would be useful to e.g. ignore movies in the current dir.
If I don't hear any complaints I'll merge that into the master branch after a few days to mull it over.
Reply to this email directly or view it on GitHubhttps://github.com/richq/folders2flickr/issues/17#issuecomment-37865800 .
Well, I thought it might be easier to just add an empty .f2fignore to ignore a whole directory than to have to add *
to it. Since this isn't set in stone yet I appreciate the feedback. As it's a bit strange, having to add an asterisk would be easier to understand and explain.
I've merged the f2fignore branch into master now!
Any way to further this to ignore all *.MOV files (for example) in all subdirectories? IE, a global ignore?
I think it would be really nice to have some kind of .f2fignore file in which some specific folders or files can be excluded (e.g. very large movie files or folders that contain a collection of the best photos of the other folders)