mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-04-12 23:29:39 +02:00
feat(bash): add mvf function to move files from a source to target dir (#116)
Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/116
This commit is contained in:
parent
75eb66197e
commit
52da9268ad
1 changed files with 5 additions and 0 deletions
|
|
@ -170,6 +170,11 @@ swp () {
|
|||
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 |
|
||||
# +-----+
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue