![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rename a file name | Aswarth | Shell Programming and Scripting | 0 | 06-04-2008 11:18 AM |
| rename the file in batch | reldb | UNIX for Advanced & Expert Users | 7 | 01-14-2008 02:43 PM |
| Not able to rename file | MANISH KU | Shell Programming and Scripting | 2 | 06-27-2007 01:07 AM |
| File rename | redlotus72 | UNIX for Dummies Questions & Answers | 1 | 03-09-2006 07:52 AM |
| Help with multiple file rename - change case of part of file name | steve7 | UNIX for Dummies Questions & Answers | 7 | 06-30-2005 10:41 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
how to rename a file before and after a ftp?
I doin a script in sh.
For example: i have this code here whereby $5 is a text file. eg file.txt. I wanna rename it to file.txt.tmp. so i use this code below which is correct. put $5 $5.tmp But when the ftp transfer is complete i need to rename the file back to $5 which is file.txt. How do i do that? izzit use mv $5.tmp $5? i got problem with that... Thanks in advance for those who help. |
| Forum Sponsor | ||
|
|