Extracts wallpapers to current folder

Previous command would unpack wallpapers to a folder indicating its resolution (e.g. 1920x1080/04-Early-Afternoon.png). This strips the folders
This commit is contained in:
nariox
2017-07-20 12:32:31 -04:00
committed by GitHub
parent 9950fc38ac
commit ac039d82f5

View File

@@ -77,7 +77,7 @@ echo
echo "* Extracting zip... [4/5]"
# Extract the tar
# Wildcards are leftovers from before the structure was flat... keeping in case that changes again or more files are added
tar xvf "BitDay-$file.tar.gz" --wildcards '*.png'
tar xvf "BitDay-$file.tar.gz" --wildcards '*.png' --strip-components=1
rm -f "BitDay-$file.tar.gz"
echo "Done."