On 10/24/2005 1:04 AM Heinz Sporn wrote:
Am Sonntag, den 23.10.2005, 07:36 -0700 schrieb Drew Tomlinson:
# Create symlink from original file to $newfile in $local_dir
# specified above.
ln -s "$original" "$local_dir/$newfile"
Just a suggestion: insert a minimum of error handling like
ln -s "$original" "$local_dir/$newfile"
if (( $? > 0 )) ; then logger -t "myscript" "That didn't work for some
reason ; fi
... or something else at points where the script could fail.
Good idea!
Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
--
[email protected] mailing list