What is the Windows alternative to the following command?
cp -f `ls|sort -R` /media/KINGSTON
This means that I am copying some sample files from a location to the other.
What is the Windows alternative to the following command?
cp -f `ls|sort -R` /media/KINGSTON
This means that I am copying some sample files from a location to the other.
Well if you are using PowerShell it would be something like this:
Get-ChildItem -Recurse | Copy-Item -Recurse -Destination "C:\\Users\\Logic\\Desktop\\x"
or
Get-ChildItem | Copy-Item -Destination "C:\\Users\\Logic\\Desktop\\x"
Get-ChildItem == ls
Copy-Item == cp