Re: [Tcpick-project] Change Output Name
Status: Beta
Brought to you by:
duskdruid
From: Tobia C. <tob...@gm...> - 2013-01-23 23:49:43
|
Alberino Palmieri wrote: > I’m trying to rename the files output of tcpick (*.dat) because I want to set a specific name. > I didn’t found the specific command line options to do this. I don't think tcpick has an option to put an arbitrary label into the file names. But you can easily do it outside of tcpick with the help of a shell script. Whether you are having tcpick exit on some condition (flags -e, -E…) or whether you terminate it with a signal, you can have a shell script waiting on it in order to rename all the files. For example your script could make a temporary directory for each tcpick execution, with mktemp -d, then call tcpick with the options you need, and then rename all the files that were created in the directory. Tobia |