Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash copy file and rename

# Copy and rename at the same time (and can also change path):
cp oldFile newFile

#Rename only:
mv oldName newName
 
PREVIOUS NEXT
Tagged: #bash #copy #file #rename
ADD COMMENT
Topic
Name
8+6 =