Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Rename bash script help

If that is valid shell command, you need to use "call" command to execute it and reformat it to a single line.
Guest

Rename bash script help

i try to run the script below at WINSCP but it prompt out unknown command

Some1 can help me change the script which compatible with WINSCP and with same result?

for file in Stat_file*.txt; do

  mv "$file" "CUPT${file#Stat_file}"
done
]

thanks