find "${HOME}/docs/"
You want the full path in quotes so that paths with spaces are handled properly. Brackets are good practice when concatenating strings.
This shit fucked me up so much when i was learning linux stuff. Especially cause a lot of my file paths had spaces. This is the way.
The lesson for me was not to create paths with spaces. There are none in Linux unless you create them.
Too late lol.
I use Arch btw
Sister communities:
Community rules
Please report posts and comments that break these rules!
find "${HOME}/docs/"
You want the full path in quotes so that paths with spaces are handled properly. Brackets are good practice when concatenating strings.
This shit fucked me up so much when i was learning linux stuff. Especially cause a lot of my file paths had spaces. This is the way.
The lesson for me was not to create paths with spaces. There are none in Linux unless you create them.
Too late lol.