Thanks PHV
Unfortunately I'm not able to use 'basename' on the system.
the escape character when writing to tra.db is actually to insert a space between $fname & $fPID... \ $fPID
I've been advised that the problem can be worked using awk, but I'm really lost when I try it.
Hi first timer here...Can anyone help with script below. Seems to work okay, but problem arises if user enters full path of file .. mv will not work.
Apparently I have to use awk or something to determime path component of $1
#! /bin/sh
# Prog that moves file specified by user
# File is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.