The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving /usr ... Is this possible? FredSmith UNIX for Dummies Questions & Answers 4 08-24-2007 04:27 PM
copying/moving partition antalexi SUN Solaris 4 11-11-2006 06:59 PM
moving AIX ver 4.2.1 to another AIX box gmonix AIX 1 03-02-2006 06:36 PM
help in moving shafique UNIX for Advanced & Expert Users 5 11-21-2005 12:27 AM
moving directory bb00y High Level Programming 1 12-02-2002 11:39 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-29-2008
anekab anekab is offline
Registered User
  
 

Join Date: May 2008
Posts: 3
Question Copying & moving en masse

I'm new to UNIX and have got some of the basics down, but I've got a puzzle I'm having difficulty working out.

Scenario:

Have FILE_A.JPG in DIR_A

Need to copy FILE_A 200 times and rename it 200 different names. List of 200 names in NAME_FILE.TXT

After renaming 200 files, need to move each file into a specific directory based on file name.

EXAMPLE:

FILE is in CURRENT_DIR needs to move to DESTINATION_DIR

234546 is in DIR_A needs to move to DIR_B/6/46
498721 is in DIR_A needs to move to DIR_B/1/21
873489 is in DIR_A needs to move to DIR_B/9/89
459323 is in DIR_A needs to move to DIR_B/3/23

PUZZLE: How to copy & rename the 200 files and then move each file into the new destination directory?

Any recommendations for me?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0