feat(bash): add "mvf" function to move files from a source to target dir

This commit is contained in:
Victor Westerlund 2026-02-27 10:19:07 +01:00
parent 75eb66197e
commit 7dbc7039ec

View file

@ -170,6 +170,11 @@ swp () {
mv "$1.$tmp_suffix" $2 mv "$1.$tmp_suffix" $2
} }
# Move all files from a source directory to a target directory
mvf () {
find "$1" -maxdepth 1 -type f -exec mv {} "$2" \;
}
# +-----+ # +-----+
# | Git | # | Git |
# +-----+ # +-----+