Currently in my bashrc
I export a variable export dl="path/to/Downloads"
. The path contains a space in it so whenever I mv
something from the directory, I have to quote the dl
variable such as mv "$dl"/*.py somewhere/else
. Is there any way I can define the variable dl
in a way that I don't have to quote it in the command line, i.e., in a way that I could just do mv $dl/*.py somewhere/else
?
I've seen similar questions asked on here but haven't been able to find a solution to this specific problem, so pardon me if it's a duplicate post.