Allow for more control on what to archive
This commit is contained in:
parent
d111bd5a50
commit
d5a4c22ff5
@ -13,12 +13,12 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
find content/albums -type d | while read dir
|
find content/albums -type d "$@" | while read dir
|
||||||
do
|
do
|
||||||
(
|
(
|
||||||
echo "Creating archive for $dir"
|
echo "Creating archive for $dir"
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
|
|
||||||
find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@
|
# find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user