Rename bash script help

Advertisement

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum