use of cp command with wild card
dear all,
how to search for a group of files using wildcard and copy the result content and redirecting it to a dir thanks regards _______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-laptop-list |
use of cp command with wild card
man find
man cp Gopal Ghosh wrote: > dear all, > how to search for a group of files using wildcard and copy the result > content and redirecting it to a dir > thanks > regards > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Fedora-laptop-list mailing list > Fedora-laptop-list@redhat.com > http://www.redhat.com/mailman/listinfo/fedora-laptop-list _______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-laptop-list |
use of cp command with wild card
Roger Millington wrote:
man find man cp or "rtfm" in otherwords - not nice, Roger... Gopal Ghosh wrote: dear all, how to search for a group of files using wildcard and copy the result content and redirecting it to a dir you do not always need to use 'find'. You can use cp with globbing (search for "file globbing") for instance: "cp *test.txt ../test" will copy newtest.txt and oldtest.txt to ../test "cp test[0-9].txt ../test" will copy test0.txt and test1.txt to ../test but will not copy testA.txt kae _______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-laptop-list |
use of cp command with wild card
Kae Verens wrote:
> Roger Millington wrote: >> man find >> man cp >> > > or "rtfm" in otherwords - not nice, Roger... I did not use "rtfm" because the questions being asked by Bopal seemed to me to indicate that he does not know that a manual exists. You can keep summarising the man pages for Bopal if you like but it would seem more valuable to show him how to get more complete answers by using 'man'. Your call. _______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-laptop-list |
use of cp command with wild card
Roger Millington wrote:
or "rtfm" in otherwords - not nice, Roger... I did not use "rtfm" because the questions being asked by Bopal seemed to me to indicate that he does not know that a manual exists. You can keep summarising the man pages for Bopal if you like but it would seem more valuable to show him how to get more complete answers by using 'man'. Your call. fair enough. I made the assumption (and I admit it was an assumption) that Gopal had read the man pages and just needed further examples or for a paraphrased explanation. I apologise for the over-reaction. kae _______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@redhat.com http://www.redhat.com/mailman/listinfo/fedora-laptop-list |
| All times are GMT. The time now is 12:02 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.