X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_zipCreate;h=dcd32fcaa2f0fa7b4b0347fb955c397ba84d5da4;hp=93bf95b00a4bd92ec4c3e2e8e1708d45b513ae9b;hb=f8c20efc11f400acafb7833947bae6c299467ef6;hpb=b81d2da5e16975674f011e4833337ac0fa24e0ea diff --git a/bin/BackupPC_zipCreate b/bin/BackupPC_zipCreate index 93bf95b..dcd32fc 100755 --- a/bin/BackupPC_zipCreate +++ b/bin/BackupPC_zipCreate @@ -21,8 +21,7 @@ # -r pathRemove path prefix that will be replaced with pathAdd # -p pathAdd new path prefix # -c level compression level (default is 0, no compression) -# -e charset charset for encoding file names (default: value of -# $Conf{ClientCharset} when backup was done) +# -e charset charset for encoding file names (default: cp1252) # # The -h, -n and -s options specify which dump is used to generate # the zip archive. The -r and -p options can be used to relocate @@ -34,7 +33,7 @@ # Based on Backup_tarCreate by Craig Barratt # # COPYRIGHT -# Copyright (C) 2002-2003 Craig Barratt and Guillaume Filion +# Copyright (C) 2002-2007 Craig Barratt and Guillaume Filion # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -52,7 +51,7 @@ # #======================================================================== # -# Version 3.0.0beta2, released 11 Nov 2006. +# Version 3.1.0, released 25 Nov 2007. # # See http://backuppc.sourceforge.net. # @@ -94,8 +93,7 @@ usage: $0 [options] files/directories... -r pathRemove path prefix that will be replaced with pathAdd -p pathAdd new path prefix -c level compression level (default is 0, no compression) - -e charset charset for encoding file names (default: value of - \$Conf{ClientCharset} when backup was done) + -e charset charset for encoding file names (default: cp1252) EOF exit(1); } @@ -137,7 +135,7 @@ if ( $i >= @Backups ) { exit(1); } -my $Charset = $Backups[$i]{charset}; +my $Charset = "cp1252"; $Charset = $opts{e} if ( $opts{e} ne "" ); my $PathRemove = $1 if ( $opts{r} =~ /(.+)/ );