diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-26 20:19:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-26 20:19:32 +0200 |
commit | 6b398a0a464d846ef0132a1f8cce78ee51ad1ac3 (patch) | |
tree | 5a42e44e3c558ab9e8ba57748e72442f226067ed | |
parent | Add e, ge, decrypt, encrypt, and encrypt-nosign (diff) | |
download | dotfiles-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/aliases | 6 |
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' |