dotfiles/bin/move-firefox-screenshots

12 lines
273 B
Plaintext
Raw Normal View History

2024-06-12 08:00:00 +00:00
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
original_directory="${HOME}/Downloads"
new_directory="${HOME}/Pictures/Screenshots"
find "${original_directory}" -mindepth 1 -maxdepth 1 -type f -name "Screenshot *" \
-exec mv {} "${new_directory}" \;