Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Planned for future release
Workspace Aspera Ideas
Created by Guest
Created on May 20, 2021

ORCHESTRATOR : Add "find command" to Local File Operation

Context

To extract all files were present in folder and subfolder on faspex Package (send with select folder button). We use Ruby code to execute "find" command.


What we want

Native implementation on Local File Operation plugin. Find search files and/or folder


Description of the existing

it have already other command "delete", "move", "touch","list","tar". on Local file operation plugin.


Ruby Code (exemple)

```ruby

require 'open3'

#ASPERA ORCHESTRATOR

folder = inputs['folder']

#CODE

command = "find " + "\"" + folder + "\"" + " -type f "

stdout, stderr, status = Open3.capture3(command)

files = stdout.split("\n")

#ASPRERA ORCHESTRATOR

outputs['files'] = files

outputs['stdout'] = stdout

outputs['stderr'] = stderr

outputs['status'] = status

outputs['command'] = command

```

Idea priority Low
  • Guest
    Reply
    |
    May 26, 2021

    Hello Brian,

    Nice to see that !

    Thanks,
    Ludwig Warnotte

    Le mar. 25 mai 2021 �� 20:09, IBM (Brian Din) <
    eb064f8f81839e5594b91c75-bigblue@iad-prod1.mailer.aha.io> a ��crit :

    > R��pondez �� ce message pour que votre r��ponse soit ajout��e �� l'id��e
    > [image: Integration]
    > ORCHESTRATOR : Add "find command" to Local File Operation a chang�� le
    > statut en: Planned for future release
    >
    > *Context*
    >
    > To extract all files were present in folder and subfolder on faspex
    > Package (send with select folder button). We use Ruby code to execute
    > "find" command.
    > ------------------------------
    >
    > *What we want*
    >
    > Native implementation on Local File Operation plugin. Find search files
    > and/or folder
    > ------------------------------
    >
    > *Description of the existing*
    >
    > it have already other command "delete", "move", "touch","list","tar". on
    > Local file operation plugin.
    > ------------------------------
    >
    > *Ruby Code (exemple)*
    >
    >
    >
    > ```ruby
    >
    > require 'open3'
    >
    >
    > #ASPERA ORCHESTRATOR
    >
    > folder = inputs['folder']
    >
    >
    > #CODE
    >
    > command = "find " + "\"" + folder + "\"" + " -type f "
    >
    >
    > stdout, stderr, status = Open3.capture3(command)
    >
    > files = stdout.split("\n")
    >
    >
    > #ASPRERA ORCHESTRATOR
    >
    > outputs['files'] = files
    >
    > outputs['stdout'] = stdout
    >
    > outputs['stderr'] = stderr
    >
    > outputs['status'] = status
    >
    > outputs['command'] = command
    >
    > ```
    > Voir l'id��e
    >
    >
    > Vous recevez des notifications parce que vous vous ��tes abonn�� �� cette
    > id��e. Vous pouvez vous d��sabonner des notifications de cette id��e pr��cise
    >
    > ou de toutes les id��es
    >
    > dans Integration.
    >

    --
    *Les mails re��us pendant vos temps de repos, vos cong��s, vos week-ends
    n���appellent pas de r��ponse imm��diate de votre part, hors urgence av��r��e ou
    situation d���astreinte*