From: Kiko J. <ki...@ts...> - 2006-12-01 11:34:01
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> Hi Anibal:<br> <pre wrap=""><div class="moz-txt-sig"><font color="#000000">That's only an information, not a warning, from tar program. You can edit file $BACKUPPC_HOME/lib/BackupPC/Xfer/Tar.pm, line 227 and change the string "file is unchanged; not dumped" by the translation in spanish: "</font>el fichero no ha cambiado; no se vuelca<font color="#000000">". That's all. Regards. </font> Date: Thu, 30 Nov 2006 12:32:24 -0200 From: Anibal Pacheco <a class="moz-txt-link-rfc2396E" href="mailto:ani...@di..."><ani...@di...></a> Subject: Re: [BackupPC-users] [Fwd: Re: error in "--newer" tar's parameter] To: <a class="moz-txt-link-abbreviated" href="mailto:bac...@li...">bac...@li...</a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:456...@di..."><456...@di...></a> Content-Type: text/plain; charset=ISO-8859-1 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 <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bin/tar: ./.java<span class="moz-txt-tag">/</span></i>.systemPrefs/.systemRootModFile: el fichero no ha cambiado; no se vuelca <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>bin/tar: ./.java<span class="moz-txt-tag">/</span></i>.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. </div></pre> <blockquote type="cite"> <pre wrap=""><span class="moz-txt-citetags">> </span> <span class="moz-txt-citetags">> </span>You can EITHER use '$incrDate+' and '$fileList+' (actually, your $fileList is <span class="moz-txt-citetags">> </span>'.' as seen above, so as long as it stays that way, it won't make any <span class="moz-txt-citetags">> </span>difference whether you use '$fileList' or '$fileList+') OR change your script <span class="moz-txt-citetags">> </span>to use "$@" instead of $* (if it's that simple ... and, of course, if it's <span class="moz-txt-citetags">> </span>really a bourne shell script) such as <span class="moz-txt-citetags">> </span> <span class="moz-txt-citetags">> </span> exec /some/path/tar $some_extra_args "$@" <span class="moz-txt-citetags">> </span> <span class="moz-txt-citetags">> </span> <span class="moz-txt-citetags">> </span>Regards, <span class="moz-txt-citetags">> </span>Holger <span class="moz-txt-citetags">> </span> </pre> </blockquote> <pre wrap=""><!----> </pre> <pre class="moz-signature" cols="72">-- Kiko Jover Linux User #354256 JPL TSolucio S.L.</pre> <br> <pre class="moz-signature" cols="72">-- Kiko Jover Linux User #354256 JPL TSolucio S.L.</pre> </body> </html> |