Search found 10 matches

by Ralph_Wiggum
January 5th, 2021, 7:42 pm
Forum: Post-Processing Scripts
Topic: [UNRAID DOCKER] Script to create folder and move files
Replies: 2
Views: 317

Re: [UNRAID DOCKER] Script to create folder and move files

well now i feel stupid :-[

the info i found said
To move a file or directory to another location, use shutil.move(src, dst). src is the file or directory to be moved and dst is the destination:
so i just assumed filename was enough :\

thanks a lot though, that worked like a charm :D
by Ralph_Wiggum
January 5th, 2021, 5:08 pm
Forum: Post-Processing Scripts
Topic: [UNRAID DOCKER] Script to create folder and move files
Replies: 2
Views: 317

[UNRAID DOCKER] Script to create folder and move files

hi! i'm trying to create a script with python that creates sample folder if a sample file exists and the move the file to folder (also for proof and subs). i'm using python, but i'm fairly new to programming. there seem to be a function to automatically delete these files, but not to create the fold...
by Ralph_Wiggum
March 21st, 2013, 6:25 am
Forum: Bug Reports
Topic: 100% cpu and taking forever to repair
Replies: 1
Views: 1693

100% cpu and taking forever to repair

As of late, when sabnzbd tries to repair files, it uses 100% cpu and takes forever to complete the task. most of the time it fails too. I downloaded a 7 gb file and it took 13 hours to finally repair. This has not happened in previous versions of sab as far as i can remember. i've got a 3.2 ghz dual...
by Ralph_Wiggum
September 17th, 2012, 1:09 pm
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

Oh my... it was that easy! Well, I guess everything is when you know what you're doing! ;)

Anyways... Thank you very very much! Really nice of you! :) And It worked great! :)
by Ralph_Wiggum
September 17th, 2012, 12:06 pm
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

I'm sorry for being a moron, but if you could just copy/paste what I have in the first post and add what is needed for the script to run in the downloaded folder? All my complete stuff are on D:\Downloads (so the downloaded folder within there) Again, I'm sorry for being so helpless, but I just can'...
by Ralph_Wiggum
September 12th, 2012, 1:45 pm
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

But did you run the script with the goal directory as parameter? So yourscript.bat "C:\blabla\testidr" Ehm... don't think so. God, I feel so dumb. I just ran the script is it is. I copied it into the folder I wanted sorted and ran it there. That's about it. The script is in my complete folder when ...
by Ralph_Wiggum
September 12th, 2012, 11:49 am
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

I tried to just add cd "%1" at the top, but for some reason it made a Sample folder and moved a file in the Sab installation directory :P So guess that didn't work ;) The script runs great when I do it manually with the script in the folder I want sorted. If I try it in a folder that's already sorte...
by Ralph_Wiggum
September 12th, 2012, 9:46 am
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

I looked at the page you linked to before I posted, but seeing as I am very new to this; it didn't help me much :(

So, i just add

Code: Select all

cd "%1"
beneath

Code: Select all

echo off
in my script and I'm all set? :-S
by Ralph_Wiggum
September 11th, 2012, 12:54 pm
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Re: Help with Batch script.

Sorry, for got to add that! I'm on WIN 7 :)

Ok, so ehm... how do I do that? :P
by Ralph_Wiggum
September 11th, 2012, 12:08 pm
Forum: Post-Processing Scripts
Topic: Help with Batch script.
Replies: 15
Views: 8024

Help with Batch script.

Hello everyone! :) I was wondering if anyone can help me with a batch script? I can't figure out how I can get my script to do what I want in the folder I just downloaded. If it's done before or after moving from incomplete doesn't matter. My scripting skills isn't much to brag about. I got a lot of...