Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@b0rk >- operating on filenames that start with `-` is hard
You just write -- to signal the end of flags
>- spaces in filenames
You either use quotes or escape with \ - typically bash tab complete will autocomplete space escapes for you as long as the file isn't similarly named to other ones with spaces.
>- accidentally creating files named with special shell characters (~, *, ?)
GNU ls will auto-append the necessary escape characters and you can just copy-paste to remove.
>- maybe non-ASCII / emoji filenames? (would love specific examples)
Tab complete works fine with UTF-8 moon runes.
>- (on Mac OS) filenames with uppercase letters can get weird sometimes (would love specific examples!)
Yes, you will have issues with proprietary OS's that try to pretend that computers are case-insensitivite.