Here's how to check if a file/directory exists in Bash.
Conversation
Notices
-
It's FOSS (itsfoss@mastodon.social)'s status on Thursday, 31-Aug-2023 23:04:42 JST It's FOSS
-
Kancept (kancept@mastodon.social)'s status on Friday, 01-Sep-2023 10:57:14 JST Kancept
@itsfoss typo in Example 1 with an errant ‘a’ after config in the path?
NVIM_DIR="${HOME}/.configa/nvim"
-
It's FOSS (itsfoss@mastodon.social)'s status on Friday, 01-Sep-2023 13:39:08 JST It's FOSS
@kancept Thank you for bringing this to our attention!
-