LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2013, 07:05 PM   #1
Lindner79
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
Globbing


I am doing a lab for school and can not figure how to do it. They want me to use file globbing to copy all the files in /labs/data directory that ends in an .out to lab06 directory.
I have looked in my book and even emailed the teacher for help and have not had any response. Any help or guidance would be greatly appreciated.
 
Old 09-17-2013, 08:46 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,255
Blog Entries: 16

Rep: Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120Reputation: 3120
It's not something I've had occasion to get good at, but maybe this will help:

http://tldp.org/LDP/abs/html/globbingref.html

And here's a YouTube: https://www.youtube.com/watch?v=P9pzm5b6FFY
 
Old 09-17-2013, 09:49 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
You may also want to have a search here for posts by David_the_H; he often gives good advice on this
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] globbing in a script frrobert Programming 3 01-14-2011 03:27 PM
File Globbing BlaqkStarSunday Linux - Newbie 5 09-13-2010 06:35 PM
Need Help With File Globbing jcofell Linux - Newbie 10 10-26-2009 08:22 PM
how to enable globbing ravidangaych Linux - General 2 10-26-2009 10:11 AM
Globbing Problem in BASH Hink Programming 2 07-28-2005 12:19 PM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration