linux copy
# Linux - Bash
# syntax:
# cp [option(s)] <source-filepath> <destination-filepath>
# example-1 (fundamental - no options):
cp "C:\Windows\System32\drivers\etc\hosts.txt" "C:\Users\hosts.txt"
# example-2 (fundamental - with options):
cp -nR "C:\Windows\System32\drivers\etc" "C:\Users"
# + ------ + ------------------------------------------------------- +
# | OPTION | DESCRIPTION |
# + ------ + ------------------------------------------------------- +
# | -a | archive files |
# | -f | force copy by removing the destination file if needed |
# | -i | interactive - ask before overwrite |
# | -l | link files instead of copy |
# | -L | follow symbolic links |
# | -n | no file overwrite |
# | -R | recursive copy (including hidden files) |
# + ------ + ------------------------------------------------------- +
Also in Shell:
- git diff with remote branch
- ubuntu terminal find file recursive
- mkdir multiple directories
- how to install vue in laravel
- bash permissions
- Amazon Linux 2 AMI install docker
- install angular on mac
- how to check which packages homebrew has installed
- update yarn
- de shell script with administrative priverlages
- assign default value in shell script
- edit branch name git
- run screen on background linux terminal
- git remove folder remotely
- undercover mode kali
- java to jar
- powershell append to file
- command to install react cli
- get-adcomputer servers only
- env variable bash
- git stash save name
- bash find files or operator
- powershell upgrade
- matplotlib change he yticks to two number after digit