escape file/ folder names
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
source=$1;
|
||||
# archive=${source%.xz}; # cut off trailing ".xz"
|
||||
# unxz $source && tar xfv $archive
|
||||
tar x -I"unxz -v" -vf $source
|
||||
# unxz "$source" && tar xfv "$archive"
|
||||
tar x -I"unxz -v" -vf "$source"
|
||||
|
Reference in New Issue
Block a user