Hi all, I seek your help to copy a similar file from different directories.
Ex: The file locations are like .. /usr1/data/111/temp/MAST111 /usr1/data/222/temp/MAST222 /usr1/data/333/temp/MAST333 the temp dir is also having the MAST* index file also. I mean MAST111.idx what I am doing cp -p /usr1/data/111/temp/MAST111 . .. .. if I tried by doing a single command like cp -p /usr1/data/*/temp/MAST* . this will also copy the index file too. But I dont want the index file. How to copy the require file with shortest possible method? (of course i can remove the copied *.idx file with rm -f *.idx, give me a method without using the rm) Thank you -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
