Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Delete file from the external task
MikaV
Hi
Solaris/TS 5.52
I have workflow where I call external task. In the perl script I want to delete file from the workarea. Of course "`rm filename`" works, but I'm not sure that is the right way to do that. I didn't find any suitable command line tool...
How this should be done?
IT Optimo Ltd.
Helsinki, Finland
Find more posts tagged with
Comments
Migrateduser
I'm pretty sure that
`rm $filename`
or
unlink $filename
is all you can do. To my knowledge there is no delete file CLT available. If I'm wrong, someone will take great pleasure in correcting me.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
Adam Stoller
For performance reasons, if nothing else, I advocate using the built in function: unlink() rather than executing another process to run '/bin/rm' within. Not only that, but it's more portable too.
And no - there is no iwdelete, iwrm, CLT - the file you are deleting is in the workarea and TeamSite will take care of it when the file is submitted.
--fish
(Interwoven Senior Technical Consultant)