FTP rename commands

  • Thread starter Thread starter jaykumar
  • Start date Start date
J

jaykumar

Hi,

I am working on WIL script I need to write a command for
renaming all the file ending with .in

my command should be like.

ftp>rename *.in *.out

I want to know how to rename it in bulk that is I have
hundreds of files coming in to my system with extension
*.in and I neet to chage it to *.out in the ftp prompt
 
Hi,

I am working on WIL script I need to write a command for
renaming all the file ending with .in

my command should be like.

ftp>rename *.in *.out

I want to know how to rename it in bulk that is I have
hundreds of files coming in to my system with extension
*.in and I neet to chage it to *.out in the ftp prompt

Ftp: globToggles wildcard expansion of local file names.

Syntax
glob

Parameters
? glob
Displays help for the glob command.
Remarks
By default, globbing is on.
Globbing permits the use of the asterisk (*) and question mark (?) as wildcard
characters in local file or path names.

Why not do it outside the FTP command.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top