Posts Tagged ‘Bash’
Bash and filenames with spaces.
Tuesday, June 24, 2008 22:09 No CommentsIf you want to use Linux Bash scripts for doing file operations on files that have spaces in them, you will see that, by default, a ‘for’ statement will break up the filename in however many parts there are in the name. E.g. “This is a file.txt” will become “This”, “is”, “a”, “file.txt”. To prevent [...]
