aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 20:19:32 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 20:19:32 +0200
commit6b398a0a464d846ef0132a1f8cce78ee51ad1ac3 (patch)
tree5a42e44e3c558ab9e8ba57748e72442f226067ed
parentAdd e, ge, decrypt, encrypt, and encrypt-nosign (diff)
downloaddotfiles-6b398a0a464d846ef0132a1f8cce78ee51ad1ac3.tar.gz
dotfiles-6b398a0a464d846ef0132a1f8cce78ee51ad1ac3.tar.bz2
dotfiles-6b398a0a464d846ef0132a1f8cce78ee51ad1ac3.tar.xz
Add touch-all alias
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--bash/aliases6
1 files changed, 6 insertions, 0 deletions
diff --git a/bash/aliases b/bash/aliases
index 140f958..d978492 100644
--- a/bash/aliases
+++ b/bash/aliases
@@ -51,6 +51,12 @@ forever () {
done
}
+# DESCRIPTION: Recursive touch all files in the current working directory
+# USAGE: touch-all <extra arguments for find>
+touch-all () {
+ find -print0 "$@" | xargs -0 touch
+}
+
#DESCRIPTION: ls with long listing, classification with appendix character, hidden files and the . and .. directories
alias ll='ls -alF'