Fix extra dash in timestamp format
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 13 Jun 2022 12:35:28 +0000 (08:35 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 13 Jun 2022 12:35:28 +0000 (08:35 -0400)
home/bin/x

index 59a4710..5069833 100755 (executable)
@@ -6,7 +6,7 @@ name=$(echo "$@" | sed 's/\s\+/-/g');
 
 if [ "$name" != "" ];
 then
-    timestamp=$(date +'%F--%H-%M--%S');
+    timestamp=$(date +'%F--%H-%M-%S');
     directory="$HOME/x/$timestamp--$name";
     mkdir -p "$directory";
     cd "$directory";
This page took 0.036052 seconds and 4 git commands to generate.