Command Line Filebot skips folders with .DS_Store

Any questions? Need some help?
Post Reply
mAAdhaTTah
Posts: 16
Joined: 15 Sep 2013, 20:27

Command Line Filebot skips folders with .DS_Store

Post 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.
User avatar
rednoah
The Source
Posts: 23927
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Command Line Filebot skips folders with .DS_Store

Post 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() }
:idea: Please read the FAQ and How to Request Help.
mAAdhaTTah
Posts: 16
Joined: 15 Sep 2013, 20:27

Re: Command Line Filebot skips folders with .DS_Store

Post 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?
User avatar
rednoah
The Source
Posts: 23927
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Command Line Filebot skips folders with .DS_Store

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply