Steve Holdoway wrote: > On Fri, 09 Mar 2007 11:30:53 +1300 > Roger Searle <[EMAIL PROTECTED]> wrote: > > >> Steve Holdoway wrote: >> >>> On Fri, 09 Mar 2007 11:02:18 +1300 >>> Roger Searle <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> Hi, I have the following file: >>>> [EMAIL PROTECTED]:~/Desktop> ls -l backup-data.sh >>>> -rwxr-xr-x 1 roger users 167 2007-03-09 10:18 backup-data.sh >>>> >>>> >>>> >>> what's the output from >>> >>> sh -x ./backup-data.sh >>> >>> >>> >>> >> gemini:/home/roger/Desktop # sh -x ./backup-data.sh >> + /bin/bash >> >> > > and > > which bash > > ?? > > Is it possible just to paste the first 20 lines or so of the script? Just to > check, the first line does say > > #!/bin/bash > > doesn't it?? > > Steve > script at this point is:
/bin/bash TarFile=/windows/H/backup-data-`date +%a-%d-%m-%y`.tgz tar -czvf $TarFile \ /windows/E/admin \ /windows/E/Templates \ /windows/E/toolbar \ /windows/E/woja (will later have a number of other directories added, these give me a 30mb backup file to wait for and check, rather than a couple of gigs...)
