How to join multiple lines of file names into one with custom delimiter? September 13, 2022 by Tarik Similar to the very first option but omits the trailing delimiter ls -1 | paste -sd "," -