#!/bin/bash # Build a list of all file names that have been moved assets=() for asset in assets/* do assets+=$(basename -- "$asset") done