PowerShell: Copy File
Copy One File
# copy a file in current dir to parent dir cp photo.jpg ../
Copy-Item
has aliascp
Copy Files in a Dir
# copy all file to f drive cp ~/Pictures/* f:/backup/
PowerShell. Working on Files
- PowerShell: Copy File
- PowerShell: Rename File
- PowerShell: Move File
- PowerShell: Delete File
- PowerShell: Create New File
- PowerShell: Create File Symbolic Link, Hard Link, Junction
- PowerShell: Get File Content
- PowerShell: Join Files
- PowerShell: Compare Files (Show Difference)
- PowerShell: Open File by Default App
- PowerShell: File Date Time