Hi List, according with Holger's indications I have changed my script to "$@" and no shell-scape is made in the variables in localhost.pl but now I'm getting thousands of warnings (i think) messages from tar like this (translated from spanish):"file was not changed, not dumped"
The original in spanish: ------------------------ Running: /usr/bin/sudo /root/bin/tarCreate -v -f - -C /etc --totals --newer=2006-11-23 11:33:18 . Xfer PIDs are now 25417,25416 /bin/tar: ./.java/.systemPrefs/.systemRootModFile: el fichero no ha cambiado; no se vuelca /bin/tar: ./.java/.systemPrefs/.system.lock: el fichero no ha cambiado; no se vuelca /bin/tar: ./R/repositories: el fichero no ha cambiado; no se vuelca /bin/tar: ./R/Makeconf: el fichero no ha cambiado; no se vuelca /bin/tar: ./R/Renviron: el fichero no ha cambiado; no se vuelca .... and so on .... Thank you if you can help me turn off this (I supose) warnings. regards, anibal. > > You can EITHER use '$incrDate+' and '$fileList+' (actually, your $fileList is > '.' as seen above, so as long as it stays that way, it won't make any > difference whether you use '$fileList' or '$fileList+') OR change your script > to use "$@" instead of $* (if it's that simple ... and, of course, if it's > really a bourne shell script) such as > > exec /some/path/tar $some_extra_args "$@" > > > Regards, > Holger > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
