|Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.|
||Thread Tools||Search this Thread||Display Modes|
Need help in writitng a script to rename file name and copy to other folder
My requirement is as follows:
A file (say abc) will be having list of the .txt file names. I need to read this abc file line by line and rename the .txt file names inside it and move them to other folder/path.
Output (should be present in different path)
Please help me in writitng the script. Shell: KSH
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.
Please review the rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.
If you did post homework in the main forums, please review the guidelines for posting homework and repost.
The UNIX and Linux Forums.
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Script to create folder, copy file, and send email on success||minnino||Shell Programming and Scripting||4||10-19-2012 01:24 PM|
|sed to rename files in a folder - please help with script||Bloomy||Shell Programming and Scripting||8||06-02-2011 03:24 AM|
|Bash script to rename all files within a folder...||dranzer||UNIX for Dummies Questions & Answers||2||12-05-2010 04:18 PM|
|Rename folder/directory after running sort script||jl487||Shell Programming and Scripting||1||04-13-2010 11:37 PM|
|Copy files from folder and rename them||zeker||Shell Programming and Scripting||4||12-24-2009 04:49 AM|