projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving custom directory to under generated folder
[feisty_meow.git]
/
scripts
/
core
/
functions.sh
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index 55a77d193ba62c7775272913c069040427c79a54..31e94a044a497525ca29016a84e3cea75b4c6e93 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-6,6
+6,12
@@
if [ ! -z "$SHELL_DEBUG" ]; then
echo function definitions begin...
fi
echo function definitions begin...
fi
+# a handy little method that can be used for date strings. it was getting
+# really tiresome how many different ways the script did the date formatting.
+function date_stringer() {
+ date +"%Y_%m_%e_%H%M_%S" | tr -d '/\n/'
+}
+
# makes a directory of the name specified and then tries to change the
# current directory to that directory.
function mcd {
# makes a directory of the name specified and then tries to change the
# current directory to that directory.
function mcd {