Greetings,
I have the following flow:
SFTP does some function (upload) and then I do SSH to list ls -l the directory files where I uploaded the files, everything works fine, however the it returns the results duplicates as the number of the items in the SFTP
What would be the best tip on how to get only the first item in the list of SFTP or SSH list?
Here is a screenshot of the duplicated items and I just need the one time the content in stdout #
07-08-2022.zip
08-08-2022.zip
09-08-2022.zip
10-08-2022.zip
11-08-2022.zip
12-08-2022.zip
13-08-2022.zip
14-08-2022.zip
15-08-2022.zip
Thanks