# System Execute to Move Files?

**URL:** <https://forum.cloverdx.com/t/system-execute-to-move-files/1651>\
**Category:** CloverDX Platform\
**Created:** [July 28, 2015, 12:00am UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651 "2015-07-28T00:00:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pintail](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@pintail](https://forum.cloverdx.com/u/pintail)\
**Post date:** [July 28, 2015, 12:00am UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/1 "2015-07-28T00:00:00Z")

</div>

Hi - does anyone have a graph example that shows a using a system execute component to move a file once it’s been processed through the graph (last step in the graph)? I’m waiting on the server license key for the job flow components, but in the meantime would like to try this out. If anyone has an example it would be much appreciated. thanks!

---

<div class="post-metadata">

**Author:** ![slechtaj](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@slechtaj](https://forum.cloverdx.com/u/slechtaj)\
**Post date:** [August 7, 2015, 2:37pm UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/2 "2015-08-07T14:37:12Z")

</div>

Hi Pintail,

You can of course use SystemExecute to copy a file to another location. You should, however, keep in mind the Clover is not “in charge” of copying the data - it just invoke a system command (in your case cp, pscp etc.). An example of why you should rather use File Operations components (e.g. CopyFile or MoveFiles) is described in [this thread](http://forum.cloveretl.com/viewtopic.php?t=6846).  
Regarding the SystemExecute configuration you can refer to the [documentation](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/index.html). The most important (basic) attributes you need to set here is “System command” and “Working directory”.

Hope it helps.

---

<div class="post-metadata">

**Author:** ![raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@raj](https://forum.cloverdx.com/u/raj)\
**Post date:** [September 9, 2016, 11:57am UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/3 "2016-09-09T11:57:15Z")

</div>

I have the same requirement to do. Can you please help me how to decrypt a file in clover ETL?  
I have a csv file and encrypted it as .PGP file. Now I want to decrypt this file and want to get the original csv file.  
Can you please help me out in this.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![PedroVazquezRosario](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PedroVazquezRosario](https://forum.cloverdx.com/u/PedroVazquezRosario)\
**Post date:** [September 13, 2016, 1:57pm UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/4 "2016-09-13T13:57:22Z")

</div>

Hi Raj,

You can accomplish this by using our SystemExecute component, simply add your command based on the decryption software you are using to decrypt your file in the “System Command” property. You will also want to specify the location of where you want to store your file in the “Output file URL” property.

---

<div class="post-metadata">

**Author:** ![raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@raj](https://forum.cloverdx.com/u/raj)\
**Post date:** [September 16, 2016, 7:45am UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/5 "2016-09-16T07:45:50Z")

</div>

Thanks for the reply.  
I could not follow the solution can you please share me a simple example on this!

-Raj

---

<div class="post-metadata">

**Author:** ![PedroVazquezRosario](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@PedroVazquezRosario](https://forum.cloverdx.com/u/PedroVazquezRosario)\
**Post date:** [September 16, 2016, 1:30pm UTC](https://forum.cloverdx.com/t/system-execute-to-move-files/1651/6 "2016-09-16T13:30:36Z")

</div>

Hi Raj,

A simple example won’t be possible, since the command script depends on the decryption software you are using. However I have taken the liberty of attaching a screenshot of where you have to add the script.

[systemExecute.PNG](https://cdn.cloverdx.com/forum/18200%5F68f84273eed7ae25c449b6b6faaed189/systemExecute.PNG)

- [systemExecute.PNG](https://cdn.cloverdx.com/forum/18200%5F68f84273eed7ae25c449b6b6faaed189/systemExecute.PNG)
