Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
19814.jpg to 19850.jpg and 20015.jpg and 21115.jpg to 21210.jpg and some more file like this, I tryed to make a expression but didnt work: cp [19814-19850,20015,21115-21210].jpg /home/maginot/
I tryed cp {19814-19850,20015,21115-21210}.jpg /home/maginot/ but this dont accepct range, just singular files ...
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,151
Rep:
Re: copying a range of files
Quote:
Originally posted by maginotjr I just want to copy some files, like
19814.jpg to 19850.jpg and 20015.jpg and 21115.jpg to 21210.jpg and some more file like this, I tryed to make a expression but didnt work: cp [19814-19850,20015,21115-21210].jpg /home/maginot/
I tryed cp {19814-19850,20015,21115-21210}.jpg /home/maginot/ but this dont accepct range, just singular files ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.