diff options
Diffstat (limited to 'update.zsh')
| -rwxr-xr-x | update.zsh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/update.zsh b/update.zsh deleted file mode 100755 index 61da864..0000000 --- a/update.zsh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env zsh -# -# Copyright (C) 2024-2025 Maria Lisina -# Copyright (C) 2024-2025 Danil Lisin -# SPDX-License-Identifier: Apache-2.0 - -for shorts in $(find users -type d -name shorts) -do - for short in $(ls -1tr "${shorts}") - do - short_query="$(< "${shorts}/${short}")" - mv -v "${shorts}/${short}" "${shorts}/$(sha1sum <<< "${short_query}" | cut -d ' ' -f 1)" - done -done |
