View Single Post
  #29  
Old 22nd April 2010, 17:20
SimonH SimonH is offline
Junior Member
 
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Toucan View Post
./back-res: line 141: backuptar: command not found
./back-res: line 272: [: -gt: unary operator expected
Quote:
TAR=`backuptar`
that line in your script should probably just be

Code:
TAR=`which tar`
Great script by the way go0ogl3, works perfectly for me, I just need to tag an scp command on the end now to send the backup to a remote box.

Nice job
Reply With Quote