added hostname into squished filename
authorChris Koeritz <fred@gruntose.com>
Tue, 31 Oct 2017 20:44:15 +0000 (16:44 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 31 Oct 2017 20:44:15 +0000 (16:44 -0400)
scripts/files/squish_directories.sh

index 8682e30d0a04a1ae3e7bfe6264889467722d2257..4d1b75cc8e951a016157b7e78006f0a3bc00410c 100644 (file)
@@ -35,7 +35,7 @@ function flattenizer()
     done
     if [ ! -z "$dirname" -a -d "$dirname" ]; then
       echo "flattening '$dirname'..."
-      zip --symlinks -rm "${dirname}_squished_on_$(date_stringer).zip" "$dirname" &>/dev/null
+      zip --symlinks -rm "${dirname}_squished_on_$(hostname)_at_$(date_stringer).zip" "$dirname" &>/dev/null
     fi
   done
 }