|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
ksh scripts
I want to help seed linux and bsd to the world. So I have set up a seedbox for linux/bsd torrent files.
Code:
#!/bin/ksh # Fetch Debian torrent wget -r -l 10 -A *.torrent -nd -P /home/pi/torrent/debian http://cdimage.debian.org/debian-cd/8.5.0 exit ksh debian.torent wget: missing url If i only run it as a command it works and download 100s of debian torrent in a few minutes. Code:
wget -r -l 10 -A *.torrent -nd -P /home/pi/torrent/debian http://cdimage.debian.org/debian-cd/8.5.0 (updated script to /bin/ksh, from /usr/bin/ksh, still does not work) Last edited by psypro; 12th August 2016 at 08:23 PM. |
|
|||
Made a test script.
File name: test.script Code:
#! /bin/ksh echo "Hello" date Code:
chmod +x test.script Code:
./test.script Fri aug 12 22:27 ... So I made my first working ksh script! |
|
|||
A thank you, now it is working just fine.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't load any scripts in ircII | guitarscn | General software and network | 4 | 22nd November 2010 12:06 AM |
ppp scripts help | wokko | NetBSD Installation and Upgrading | 10 | 18th May 2010 05:29 AM |
Executing web scripts : can't! | erehwon | OpenBSD General | 3 | 3rd November 2009 10:02 PM |
Windows scripts can't print | drhowarddrfine | Other OS | 15 | 31st March 2009 08:53 AM |
Periodic scripts for mail scripts | stukov | FreeBSD General | 2 | 8th March 2009 07:51 PM |