move files with in bash
mv path/to/src to/path/destination
bash move
# Linux - Bash
# syntax:
mv [options] <source-filepath> <destination-filepath>
# example-1 (fundamental - no switches):
mv "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
# example-2 (fundamental - with switches):
mv -u "C:\Users\File_Name.txt" "C:\Users\SubFolder\File_Name.txt"
# + ------ + ---------------------------------------------------------- +
# | OPTION | DESCRIPTION |
# + ------ + ---------------------------------------------------------- +
# | -f | force move by overwriting destination file without prompt |
# | -i | interactive prompt before overwrite |
# | -u | update - move when source is newer than destination |
# | -v | verbose - print source and destination files |
# | man mv | help manual |
# + ------ + ---------------------------------------------------------- +
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us