Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

move to file in bash

# Default path -> /home/your_pc_name

# Move file but in default path
mv file_name directory_name 
# ex. mv computer.jpeg Downloads

# Move file but in default path with specific directory
mv folder_name/file_name to_directory_name
# ex. mv seasonal/spring.csv backup

# Move multiple files but in default path with specific directory
mv folder_name/file_name folder_name/file_name to_directory_name
# ex. mv seasonal/spring.csv seasonal/winter.csv backup
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #move #file #bash
ADD COMMENT
Topic
Name
1+9 =