diff --git a/.bash_aliases b/.bash_aliases index f3e8f33..c50f532 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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 | # +-----+