![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change file extension from root and subdirectories | Astrid | Shell Programming and Scripting | 10 | 02-17-2008 07:18 AM |
| extension problem please help | sharmasdeepti | UNIX for Dummies Questions & Answers | 1 | 10-24-2007 08:29 AM |
| without extension | adurga | UNIX for Dummies Questions & Answers | 3 | 07-02-2007 01:34 PM |
| Changing extension | mohan705 | Shell Programming and Scripting | 4 | 06-30-2007 02:06 PM |
| How to change extension? | prkwan | Shell Programming and Scripting | 4 | 11-16-2002 07:14 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how do i change extension
Hi
I am writing a script which does an FTP of a set of files onto another machine and then would have to rename the files into a different extension on the source machine. for example if the file being sent via FTP is sample.txt. Once the file has been transferred i would want to modify the filename to look like sample.txt.sent. I couldnt figure out how to do this. i am trying with this command mv $(file) $(file).sent But this doesnt work but gives me a weird message Usage: file [-c] [-m MagicFile] [-f ListFile] [File...] I am using AIX 5.1 and bash shell. Thanks in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|