Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@beleg I stared at the command for a minute and couldn't figure out if I was doing it right.
As said, I've done this so many times but for my own safety I just didn't do it. -
gilerean96yDoesn’t symlinking also fail if the source is invalid or if the destination exists already?
-
flocke2606yI usually do it the wrong way around on the first try and get the 'File exists' error, every time...
If you think about it for more than 1s it is pretty obvious (same behaviour as CP and mv, src first then dest)... but who likes thinking... -
Every time I make a symlink I end up searching my shell history for the last time I did it cause I can never remember and can't be bothered to read the man page
-
Conrad7376ySame today with junction on windows… Every time I run it without parameters first to check what comes first
-
chaosops16yFailsafe way to create a simlink:
$ cd /path/to/destination
$ ln -s /path/to/target
Done
Today was hell on earth as for user support. Phone going non stop, tickets coming in faster than we were able to process.
At the end of the day I had to make a symlink for a customer which is fine. But, the day was so busy that I just couldn't focus anymore.
I've made 1K+ symlinks in my life probably but I couldn't remember if the source or destination comes first with a symlink.... The day has been hell and I just couldn't bring up a single second of focus anymore..
Fuck it, I'll do it tomorrow. I know I can do this but I don't trust myself with this right now in case of a huge webshop (swap the source/destination: webshop gone).
I think I'll thank myself for this tomorrow.
rant