Thanks Dwight! That did the trick. The addition off "/*" to my variable "paths" worked for me.
]# while read paths; do dsmc restore -server=tsmserver -virtualnodename=fileserver -password="password" $paths/* -subdir=yes "/var/restore/"; done < /scripts/2014.sharepaths +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +----------------------------------------------------------------------
