LinuxQuestions.org
Help answer threads with 0 replies.
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 11-25-2004, 01:22 AM   #1
someone
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
copying a list of files


I'm trying to copy a list a files, stored in a text file, to another directory. Any ideas?
 
Old 11-25-2004, 01:29 AM   #2
someone
LQ Newbie
 
Registered: May 2004
Distribution: Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
I got it. It appears the command I was using didn't like have Windows style newlines. I had to switch the text editor to use Unix style newlines.
The command I used is:
cpio -p directory < listOfFiles
 
Old 11-25-2004, 10:23 AM   #3
dublinclontarf
Member
 
Registered: Jan 2004
Location: dublin ireland
Distribution: Ubuntu PPC
Posts: 39

Rep: Reputation: 15
you could just try ls > newFile.txt
 
  


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
Copying files paddyjoy Linux - Newbie 10 10-25-2013 12:12 PM
copying files(s) in c climbingmerlin Programming 7 10-27-2005 03:00 PM
need help with copying files Earl Parker II Linux - General 8 09-12-2005 09:54 AM
Copying FIles Casper12 General 4 08-07-2005 05:30 PM
Copying Files... viperquest Linux - Software 3 03-07-2003 03:41 PM


All times are GMT -5. The time now is 08:29 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