2022-02-03

This commit is contained in:
Louis Seubert 2022-02-03 19:33:04 +01:00
parent f86b8496ec
commit db393215ce
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
55 changed files with 1907 additions and 0 deletions

16
home/dot-local/bin/mkcache Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
for file in "${@:-"${PWD}"}"; do
if [[ ! -d "${file}" ]]; then
printf $"%s: cannot create cache directory tag '%s': %s\n" \
"${0##*/}" "${file}" $"File is not a directory" >&2
continue
fi
cat >"${file}/CACHEDIR.TAG" <<EOF
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by bash.
# For information about cache directory tags see https://bford.info/cachedir/
EOF
done