Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-10-2007, 02:40 AM   #1
LQ Newbie
Registered: Jul 2007
Location: Kenya Nakuru
Distribution: Ubuntu 6.06 LTS + Knoppix 5
Posts: 22

Rep: Reputation: 15
Mass Transfer Of Files

someone pliz show me how to copy many files from the command line without copying the folder.
Old 08-10-2007, 02:51 AM   #2
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Hi there,

I don't know if I get the whole sense of your question. If you want to copy files from a folder to another, you can
cp -rfv folder_to_copy_from/* folder_to_copy_to/
This command will copy all the files in folder_to_copy_from/ to folder_to_copy_to/. The * sign can be used in many ways, for example if you want to copy all the .pdf files from one folder to the other, you can
cp -rfv folder_to_copy_from/*.pdf folder_to_copy_to/
The option "r" is for recursive, "f" is to force if an existing destination file cannot be opened, remove it and try again and "v" explain what is being done.

I hope this is what you are looking for. If I you want more details, look into the manpage of copy for further the options, or just post another post with a bit more details.



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
After a piece of software/a bash script to mass-move files [Fedora Core 6] Alux Linux - Desktop 3 11-23-2006 02:33 PM
a question about renaming files in mass! zeltak Linux - Software 1 05-24-2006 06:12 AM
BASH USAGE: mass files rename sirpelidor Linux - General 8 09-20-2005 12:36 AM
Mass chmod'ing files with spaces in filenames phil.d.g Linux - General 1 06-19-2005 09:51 AM
Transfer and mass storage usb driver spec6635 Slackware 4 01-05-2005 05:59 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 AM.

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