Search found 5 matches
- March 12th, 2010, 1:52 pm
- Forum: Post-Processing Scripts
- Topic: glftpd - post processing "site rescan"
- Replies: 8
- Views: 7414
Re: glftpd - post processing "site rescan"
Ah I wasn't even thinking of using it to execute the ftp command, I use mirror to connect and upload (from hdd to hdd). But your way should work. $1 will have the full file path, you need the ftp path which will be without /glftpd/site, so $dir = `echo $1 | cut --characters 13-` ? Something like th...
- March 11th, 2010, 11:31 pm
- Forum: Post-Processing Scripts
- Topic: glftpd - post processing "site rescan"
- Replies: 8
- Views: 7414
Re: glftpd - post processing "site rescan"
okay so I got everything working, except the variables... #!/bin/bash lftp -e "cd $1 ; site rescan --normal ; exit" -u user,pass localhost -p 21 and I tried this... #!/bin/bash cd $1 lftp -e "site rescan --normal ; exit" -u user,pass localhost -p 21 The $1 isn't working... so I'm...
- March 11th, 2010, 3:57 pm
- Forum: Post-Processing Scripts
- Topic: glftpd - post processing "site rescan"
- Replies: 8
- Views: 7414
Re: glftpd - post processing "site rescan"
Okay so I was having problems so I broke it down... When I run this, everything is good... #!/bin/bash cd / ./glftpd/bin/rescan --chroot=/glftpd --dir=/glftpd/site/XVID/The.Release.Dir/ --normal That will work as the post-processing script, of course only for that release. I've tried to bring in the...
- March 11th, 2010, 3:08 pm
- Forum: Post-Processing Scripts
- Topic: glftpd - post processing "site rescan"
- Replies: 8
- Views: 7414
Re: glftpd - post processing "site rescan"
Thanks for the reply Mills. I am getting it to work, just have a couple problems with the variables, but I'll figure it out.
Thanks again though.
How does the lftp work? Is there a post-processing script for it?
Thanks again though.
How does the lftp work? Is there a post-processing script for it?
- March 10th, 2010, 9:27 pm
- Forum: Post-Processing Scripts
- Topic: glftpd - post processing "site rescan"
- Replies: 8
- Views: 7414
glftpd - post processing "site rescan"
Hello... I've been browsing these forums for a long time now and usually have found what I needed but this time I am lost... I am hoping to put together a post processing script that will automatically run the "site rescan" on the release after its completed assuming it has an sfv in the d...