From 7f6a5bfc0a7244af2520ac9ba78938b62a85191c Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sat, 24 May 2025 02:59:17 +0200 Subject: [PATCH] add mac files --- functions/clean_mac_files.sh | 5 +++++ functions/find_mac_files.fish | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 functions/clean_mac_files.sh create mode 100644 functions/find_mac_files.fish diff --git a/functions/clean_mac_files.sh b/functions/clean_mac_files.sh new file mode 100644 index 0000000..ba29dfa --- /dev/null +++ b/functions/clean_mac_files.sh @@ -0,0 +1,5 @@ +# delete mac files +function clean_mac_files + find . -name '.DS_Store' -type f -delete; + find . -name '._*' -type f -delete +end diff --git a/functions/find_mac_files.fish b/functions/find_mac_files.fish new file mode 100644 index 0000000..9ff1b28 --- /dev/null +++ b/functions/find_mac_files.fish @@ -0,0 +1,5 @@ +# find mac files +function find_mac_files + find . -name '.DS_Store'; + find . -name '._*'; +end \ No newline at end of file