Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find: `./Sample': No such file or directory #22

Open
lgforsberg opened this issue Jul 29, 2015 · 1 comment
Open

find: `./Sample': No such file or directory #22

lgforsberg opened this issue Jul 29, 2015 · 1 comment

Comments

@lgforsberg
Copy link

Hey,

Thanks for the effort you guys have put in to this script! I found this script after getting to !#/bin/bash of a my own hack to do the same thing so you guys really saved me there! One thing I find odd however is that when using the following command-line:

cd /storage/download/finished; /usr/local/bin/unrarall/unrarall --clean=all /storage/download/finished;

I get the following:

Working over directory "/storage/download/finished"
Running cksfv using totally_legal_thing_to_rar.s15e06.720p.sfv
Extracting (e) "/storage/download/finished/totally_legal_thing_to_rar.s15e06.720p.rar"...ok
Running hooks...covers_folders nfo osx_junk rar sample_folders find: `./Sample': No such file or directory
sample_videos windows_junk empty_folders Finished running hooks

Everything works just as expected but the "find: `./Sample': No such file or directory" seems out of place. The rest of the feedback is from the script but that one thing comes from find itself.

From the start there is indeed a "Sample" folder which contains a sample video file and the sample file and folder are deleted during the run.

Any ideas on why this is happening? The script is being run on a Raspberry PI 2, Model B and a fresh Raspbian install. I have peeked at the code but haven't found anything obvious as of yet.

Regards,
LG

@lgforsberg
Copy link
Author

I did not want to include it in my initial post but to me it seems like the sample_folder hook does the job of the sample_video hook. Then when its time for the sample_video hook to be processed there is no sample folder to look in for the sample video.

If this is the case the problem could be solved by either making sure that sample_video is always run before sample_folder if the two or all is given. Another possible solution would be to suppress the output from find and leave it as it is...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant