How to copy some files that have same first part?
I used:
Code:
cp while* DEST |
Are you sure there are files that match "while*"? What if you run "ls while*"?
The shell will expand your "while*" before it calls cp, assuming that there's anything to expand to. If there's not, then cp gets the literal "while*" and will throw an error if it doesn't exist. Code:
$ ls while* |
All times are GMT -5. The time now is 01:39 AM. |