you can also use basically anything that’s not / in a file name as well, it’s pretty based. Meanwhile on windows you have to use SMB mappings if you don’t want your directory structure to self immolate, what a good operating system.
Just tried. It processes the escape first and then finds the path with it. Essentially, making it look into a directory made by the characters before the \/.
The above was when I tried:
echo"asd" > asd\/dsa
But then I tried using Dolphin (GUI File Browser) to make a file and:
❯ ls
1 2 3 4 'asd\⁄sad.txt'
❯ ls
1 2 3 4 asd⁄sad.txt
In the first one, the backslash is not the escape character, but part of the text.
i’m not sure if you’re allowed to escape the / character, i feel like it’s blatantly illegal. But you could use the funny character set trolling thing instead, where you use a not forward slash instead. (not the \)
I recently renamed a few movie files to something with ‘:’. That worked fine on Linux, but lead to some issues on windows. With a lot of errors from next cloud for file sync and me not being able to rename them without booting back to Linux. Fun stuff
you can also use basically anything that’s not / in a file name as well, it’s pretty based. Meanwhile on windows you have to use SMB mappings if you don’t want your directory structure to self immolate, what a good operating system.
I think you might even be able to get away with /s if you escape them properly in the filename.
Just tried. It processes the escape first and then finds the path with it. Essentially, making it look into a directory made by the characters before the
\/
.The above was when I tried:
echo "asd" > asd\/dsa
But then I tried using Dolphin (GUI File Browser) to make a file and:
❯ ls 1 2 3 4 'asd\⁄sad.txt' ❯ ls 1 2 3 4 asd⁄sad.txt
In the first one, the backslash is not the escape character, but part of the text.
i’m not sure if you’re allowed to escape the / character, i feel like it’s blatantly illegal. But you could use the funny character set trolling thing instead, where you use a not forward slash instead. (not the \)
I’m fairly confident MacOS allows it, I’ve seen people do some Utterly Cursed shit in MacOS, but idk about Linux
maybe on macos, that might be funny, it’s probably fucky over there for some other reason anyway.
Im pretty sure it’s just explicitly illegal in linux though.
I recently renamed a few movie files to something with ‘:’. That worked fine on Linux, but lead to some issues on windows. With a lot of errors from next cloud for file sync and me not being able to rename them without booting back to Linux. Fun stuff
That’s a great feature, actually, it saves you from using Windows