dickiebird
Programmer
I can't get my head round this one :
I have several files on a remote server to rename daily.
files are in format cm99ddmmyy.tx and I want to rename them cm99ddmmyy (ie drop the tx)
rsh remserv1 mv /data/dfy/cm99*.tx /data/dfy/cm99?????? > /dev/null 2>&1
It'll be basename, I guess, but how ?
Any thoughts ?
TIA
Dickie Bird (
-)))
I have several files on a remote server to rename daily.
files are in format cm99ddmmyy.tx and I want to rename them cm99ddmmyy (ie drop the tx)
rsh remserv1 mv /data/dfy/cm99*.tx /data/dfy/cm99?????? > /dev/null 2>&1
It'll be basename, I guess, but how ?
Any thoughts ?
TIA
Dickie Bird (