How to See All Available Files in a Fleet
Overviewβ
When running a Fleet, every Vessel that either generates or downloads files can share the contents with other Vessels in the Fleet. Sometimes it can be difficult to remember the names and locations of the files that are available. This how to guide will walk you through the steps to easily show all available files in a Fleet.
Stepsβ
- Find the Fleet that you want to edit and hover over the actions vertical-dot menu.
- Click Edit.
- Click the plus icon along the left side of the Fleet Builder sidebar.
- Select the Bash option from the Code Vessels dropdown.
- In the sidebar, name your file
list_files.sh
. - Ensure the code section is set to Write and paste in
ls -a -R
. This script lists all files in every directory. - Add the Vessel to the Fleet and connect it to existing Vessels. We recommend connecting it towards the end of the Fleet. Location matters!
- Click Save.
- Click Run Now.
- Once the Fleet has finished running, navigate to the Log for the Bash Vessel you just added. You should see an output that shows all of the available files in the Fleet.
success
You've successfully created a Vessel that lists all the files in your Fleet.