Search found 7 matches

by mcmanuf
Wed Apr 20, 2011 1:31 am
Forum: General
Topic: Unrar/unzip and manage your torrents with just one script
Replies: 7
Views: 18421

Re: Unrar/unzip and manage your torrents with just one scrip

Hello.

I am looking at your script.. It seems very promising!!!

I would reall need two requests.

1.) Expand RAR/ZIPS in the same folder at downloaded!
Ex. /usb1/FilmA/file.rar, file.r01 ... into /usb1/FilmA/file.avi

2.) Delete RAR/ZIP files after succesfull unrar/unzip.
by mcmanuf
Tue Feb 01, 2011 6:20 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

You are a genius sir.
I have testet the script and it now does extract both zip files.

I still have a problem with a single rar file with spaces I just can't get to work with transmission. Will you test it out for me?

It does although work if i run the script on it directly!! hmm...
by mcmanuf
Mon Jan 31, 2011 6:55 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

Thank you very much for your help.

For now i have discovered a new error that I am experiencing.

I have tried downloading a file called:
"test_a.zip"
"test_b.zip"

What happens is that ONLY "test_a.zip" is extracted.
"test_b.zip" is left untouched by the script!
The error must be within these ...
by mcmanuf
Sun Jan 30, 2011 9:56 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

Hello now somehow the script started working again!!
The problem seems that the script cannot extract files that contains spaces.
Fx it cannot extract: Test file 1.rar
But it can extract: Test_file_1.rar

How can this problem be adressed?

Furthermore the other problem is that the script cannot ...
by mcmanuf
Sun Jan 30, 2011 1:26 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

Hello.
This is the unrar/unzip code i want to use.
Can someone tell me what is wrong with the code?


#! /bin/sh

# posttorrent.sh by Killemov
cd $TR_TORRENT_DIR
if [ -d "$TR_TORRENT_NAME" ]
then
if ls "$TR_TORRENT_NAME"/*.rar > /dev/null 2>&1
then
find "$TR_TORRENT_NAME" -iname "*.rar" | while ...
by mcmanuf
Fri Jan 14, 2011 10:53 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

Hello thanks for the quick reply. Looks beautiful.
Do you have any idea why the script sometimes does not run at all after a torrent has been downloaded?
by mcmanuf
Thu Jan 13, 2011 11:15 pm
Forum: General
Topic: Unrar and cleanup script - UPDATE 2025.01.29
Replies: 143
Views: 367551

Re: Implemented unrar and cleanup script

Is it possible to extend this script to support *zip file format as well?