Page 1 of 1

Command Line Filebot skips folders with .DS_Store

Posted: 05 Oct 2013, 21:57
by mAAdhaTTah
I figured out what the problem was in this post:

http://www.filebot.net/forums/viewtopic ... 6088#p6088

It wasn't permissions - when I ran filebot from the command line, it was skipping folders that have .DS_Store in them. The location I use to manage my files is a shared drive, so OS X creates those files there. After I deleted them, filebot handled the files in those folders.

Re: Command Line Filebot skips folders with .DS_Store

Posted: 06 Oct 2013, 05:17
by rednoah
I guess .DS_Store files are hidden and things are ignored according to this function:

Code: Select all

def incomplete(f) { f.name =~ /[.]incomplete|[.]chunk|[.]par$|[.]dat$/ || f.isHidden() }

Re: Command Line Filebot skips folders with .DS_Store

Posted: 07 Oct 2013, 18:48
by mAAdhaTTah
Yeah, except it's skipping the whole folder that the file is in, not just the hidden file(s). Is that normal behavior?

Re: Command Line Filebot skips folders with .DS_Store

Posted: 07 Oct 2013, 19:51
by rednoah
It's a sample script. It does what it does.

You're welcome to adjust the logic (in fact I already did). :P