Answers for "how to move file in terminal"

1

how to move a file in terminal

mv example.txt ~/example_location
Posted by: Guest on September-28-2021
14

linux move file

# Linux - Bash

# syntax:
mv [options] <source-filepath> <destination-filepath>

# example-1 (fundamental - no switches):
mv "C:UsersFile_Name.txt" "C:UsersSubFolderFile_Name.txt"

# example-2 (fundamental - with switches):
mv -u "C:UsersFile_Name.txt" "C:UsersSubFolderFile_Name.txt"

# Switches
OPTION	DESCRIPTION
mv -f	force move by overwriting destination file without prompt
mv -i	interactive prompt before overwrite
mv -u	update - move when source is newer than destination
mv -v	verbose - print source and destination files
Posted by: Guest on April-20-2020
0

command line move file

mv file.txt ~/Desktop/Folder
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language