From 6b398a0a464d846ef0132a1f8cce78ee51ad1ac3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Jun 2021 20:19:32 +0200 Subject: Add touch-all alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- bash/aliases | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bash/aliases') 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 +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' -- cgit v1.2.3-70-g09d2