Command-linewith inclusion and exclusion mask
Hi!
I'm trying to issue the following command (assume I'm already connected):
mv ??????-??.TXT|0911??-??.TXT archive/
the command waits a few seconds then returns to the prompt but does nothing. Basically what I'm trying to do is move all files having the above pattern EXCEPT for those files starting with 0911. The files are named YYMMDD-EC.TXT and YYMMDD-CC.TXT where YYMMDD is a date. The documentation says that I can specify an exclude mask by appending it to the include mask. Doing so does not seem to do anything. A better explanation (or better yet a real example on the documentation page) would be ideal. Thanks!
I'm trying to issue the following command (assume I'm already connected):
mv ??????-??.TXT|0911??-??.TXT archive/
the command waits a few seconds then returns to the prompt but does nothing. Basically what I'm trying to do is move all files having the above pattern EXCEPT for those files starting with 0911. The files are named YYMMDD-EC.TXT and YYMMDD-CC.TXT where YYMMDD is a date. The documentation says that I can specify an exclude mask by appending it to the include mask. Doing so does not seem to do anything. A better explanation (or better yet a real example on the documentation page) would be ideal. Thanks!