Ask Your Question
0

Local FS - static file name

asked 2020-04-30 00:32:14 -0500

Gurpreet Singh gravatar image

Hi there

Is there a way to make the file name for a local FS destination static? I.e. output.txt

Currently SDC seems to insert an ID even after I remove the ID from the File prefix setting

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-05-14 21:19:04 -0500

iamontheinet gravatar image

Hi!

Here's a short ~2min video I've put together that shows you how to rename files using SDC's event framework -- https://www.youtube.com/watch?v=VRqnH...

Cheers, Dash

edit flag offensive delete link more
0

answered 2020-05-14 20:25:22 -0500

wilson shamim gravatar image

updated 2020-05-14 21:11:57 -0500

iamontheinet gravatar image

you can achieve it using below steps

  1. create a parameter uuid = ${uuid:uuid()}
  2. use this uuid in the local FS file prefix : sdc-${uuid1}
  3. then use the shell script in the stop event mv /tmp/out/sdc-${uuid1}_* /tmp/out/output.txt exit 0
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-04-30 00:32:14 -0500

Seen: 46 times

Last updated: May 14