Incinerator
Limp Gawd
- Joined
- Aug 31, 2005
- Messages
- 252
I'm in an RHCT class and I'm trying to copy files in the usr/share/tcl8.4/encoding directory and picking certain files from that directory with globbing.
so I go to that directory, I type cp mac* ~/mac and it copies all the files starting in mac to a folder in my home directory named mac.
now when I tried to do cp cp*[24680] ~/cp_even to try to copy all the files that start with cp and have an even number in the file name it says
cp: cannot stat `cp*[24680]': No such file or directory
what am I doing wrong and how do I fix it?
Thanks
so I go to that directory, I type cp mac* ~/mac and it copies all the files starting in mac to a folder in my home directory named mac.
now when I tried to do cp cp*[24680] ~/cp_even to try to copy all the files that start with cp and have an even number in the file name it says
cp: cannot stat `cp*[24680]': No such file or directory
what am I doing wrong and how do I fix it?
Thanks