File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -162,16 +162,16 @@ function main {
162
162
do
163
163
compress_command+=" --exclude $exclude_pattern "
164
164
done
165
- compress_command+=" --create --force-local -- gzip -f"
166
- compress_command+=" ' $backup_dir /$file_name ' ${files_to_backup[@]} "
165
+ compress_command+=" --create --gzip -f"
166
+ compress_command+=" $backup_dir /$file_name ${files_to_backup[@]} "
167
167
;;
168
168
tar-xz)
169
169
compress_command=" tar"
170
170
for exclude_pattern in " ${files_to_exclude[@]} "
171
171
do
172
172
compress_command+=" --exclude $exclude_pattern "
173
173
done
174
- compress_command+=" --create --force-local -- xz -f"
174
+ compress_command+=" --create --xz -f"
175
175
compress_command+=" $backup_dir /$file_name ${files_to_backup[@]} "
176
176
;;
177
177
tar-zst)
@@ -180,7 +180,7 @@ function main {
180
180
do
181
181
compress_command+=" --exclude $exclude_pattern "
182
182
done
183
- compress_command+=" --create --force-local -- zstd -f"
183
+ compress_command+=" --create --zstd -f"
184
184
compress_command+=" $backup_dir /$file_name ${files_to_backup[@]} "
185
185
;;
186
186
tar-bz)
@@ -189,7 +189,7 @@ function main {
189
189
do
190
190
compress_command+=" --exclude $exclude_pattern "
191
191
done
192
- compress_command+=" --create --force-local -- bzip2 -f"
192
+ compress_command+=" --create --bzip2 -f"
193
193
compress_command+=" $backup_dir /$file_name ${files_to_backup[@]} "
194
194
;;
195
195
zip)
You can’t perform that action at this time.
0 commit comments