Uploaded June 2025 | Updated November 2026, 3 days ago
The 'mv' command is used to move files and directories to new locations.
- Move a file or directory to new location:
mv path/to/source path/to/target
NOTE: This essentially "renaming" the file if source and target are within the same the directory.
- Move multiple files into an existing directory, keeping the filenames unchanged:
mv path/to/source1 path/to/source2 ... path/to/target_directory
- Move files in verbose mode, showing files after they are moved:
mv -v path/to/source path/to/target
- Move in interactive mode prompting user before overwriting files:
mv -i path/to/source path/to/target
- Move in force mode overrides default behavior and interactive settings, and does not prompt for confirmation before overwriting existing files:
mv -f path/to/source path/to/target
- Move in no-clobber mode, does not overwrite existing files at the target:
mv -n path/to/source path/to/target
NOTE: If you specify more than one of -i, -f, -n, only the final one takes effect.
VIDMAN:
gitlab.com/dwt1/vidman
WANT TO SUPPORT THE CHANNEL?
π° Patreon: patreon.com/distrotube
π³ Paypal: youtube.com/redirect?event=channel_banner&redir_token=QUFFLUhqazNocEhiaGFBT1l1MnRHbnlIcHFKbXJWVnpQd3xBQ3Jtc0tsLVZJc19YeFlwZ2JqbXVOa3g0Skw4TVhTV2otNm1tM3A1bUNnamh3S2V6OGQtLTBnSjBxYTlvUXMxeEVIS3o4US10NENHMUQ3STk2a01FOFBhUnZjZFctMEhFUTg1TVctQmFfVUdxZXJ4TDl0azlYNA&q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_donations%26business%3Dderek%2540distrotube%252ecom%26lc%3DUS%26item_name%3DDistroTube%26no_note%3D0%26currency_code%3DUSD%26bn%3DPP%252dDonationsBF%253abtn_donateCC_LG%252egif%253aNonHostedGuest
ποΈ Amazon: amzn.to/2RotFFi
π Teespring: teespring.com/stores/distrotube
DT ON THE WEB:
πΈοΈ Website: http://distro.tube
π GitLab: gitlab.com/dwt1
π¨οΈ Mastodon: fosstodon.org/@distrotube
π« Reddit: reddit.com/r/DistroTube
π½οΈ Odysee: odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
π Brave Browser - brave.com
π½οΈ Open Broadcaster Software: obsproject.com
π¬ Kdenlive: kdenlive.org
π¨ GIMP: gimp.org
π» VirtualBox: virtualbox.org
ποΈ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!
The 'mv' command is used to move files and directories to new locations.
- Move a file or directory to new location:
mv path/to/source path/to/target
NOTE: This essentially "renaming" the file if source and target are within the same the directory.
- Move multiple files into an existing directory, keeping the filenames unchanged:
mv path/to/source1 path/to/source2 ... path/to/target_directory
- Move files in verbose mode, showing files after they are moved:
mv -v path/to/source path/to/target
- Move in interactive mode prompting user before overwriting files:
mv -i path/to/source path/to/target
- Move in force mode overrides default behavior and interactive settings, and does not prompt for confirmation before overwriting existing files:
mv -f path/to/source path/to/target
- Move in no-clobber mode, does not overwrite existing files at the target:
mv -n path/to/source path/to/target
NOTE: If you specify more than one of -i, -f, -n, only the final one takes effect.
VIDMAN:
gitlab.com/dwt1/vidman
WANT TO SUPPORT THE CHANNEL?
π° Patreon: patreon.com/distrotube
π³ Paypal: youtube.com/redirect?event=channel_banner&redir_token=QUFFLUhqazNocEhiaGFBT1l1MnRHbnlIcHFKbXJWVnpQd3xBQ3Jtc0tsLVZJc19YeFlwZ2JqbXVOa3g0Skw4TVhTV2otNm1tM3A1bUNnamh3S2V6OGQtLTBnSjBxYTlvUXMxeEVIS3o4US10NENHMUQ3STk2a01FOFBhUnZjZFctMEhFUTg1TVctQmFfVUdxZXJ4TDl0azlYNA&q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin%2Fwebscr%3Fcmd%3D_donations%26business%3Dderek%2540distrotube%252ecom%26lc%3DUS%26item_name%3DDistroTube%26no_note%3D0%26currency_code%3DUSD%26bn%3DPP%252dDonationsBF%253abtn_donateCC_LG%252egif%253aNonHostedGuest
ποΈ Amazon: amzn.to/2RotFFi
π Teespring: teespring.com/stores/distrotube
DT ON THE WEB:
πΈοΈ Website: http://distro.tube
π GitLab: gitlab.com/dwt1
π¨οΈ Mastodon: fosstodon.org/@distrotube
π« Reddit: reddit.com/r/DistroTube
π½οΈ Odysee: odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I LIKE:
π Brave Browser - brave.com
π½οΈ Open Broadcaster Software: obsproject.com
π¬ Kdenlive: kdenlive.org
π¨ GIMP: gimp.org
π» VirtualBox: virtualbox.org
ποΈ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!










