I came across a command the other day that appears to cohere with the unix based languages, I'm guessing that it specifies a directory that is variable, but how would I go about using it?
Also, am I right in assuming that it is a unix command?
Unix (?) Dyndir
-
- Adjust Outside Corner Grinder
- Posts: 2003
- Joined: Tue Nov 07, 2006 6:02 pm
- Location: paris
- Contact:
Re: Unix (?) Dyndir
Never heard of it, google comes up with nothing and it isn't in my manpages. Can you explain the purpose of it better than this?
- delinquent
- Match Winner
- Posts: 760
- Joined: Sat Jul 07, 2012 3:07 am
Re: Unix (?) Dyndir
Used to specify a variable folder/file path?
I really don't know, I was hoping someone here would. I came up stumped on google and scrub, and there's nothing on any of the geeky sites I sometimes trawl. It was just a fleeting glance, I saw it somewhere and thought it could be useful for things like music that is moved to another folder or drive but is still available in a library. I thought of implementing it in my arma server but I'm probably not skilled enough.
I really don't know, I was hoping someone here would. I came up stumped on google and scrub, and there's nothing on any of the geeky sites I sometimes trawl. It was just a fleeting glance, I saw it somewhere and thought it could be useful for things like music that is moved to another folder or drive but is still available in a library. I thought of implementing it in my arma server but I'm probably not skilled enough.
Re: Unix (?) Dyndir
Maybe you mean symdir? Some mix of symbolic link and directory, where when you move stuff around, you can place a symlink in the old place that points to the new place?
Code: Select all
n@ubuntu:~$ mkdir test
n@ubuntu:~$ touch test/bla
n@ubuntu:~$ ls test
bla
n@ubuntu:~$ mv test test2
n@ubuntu:~$ ln -s test2 test
n@ubuntu:~$ ls test
bla
n@ubuntu:~$ ls test2
bla
n@ubuntu:~$ rm test2/bla
n@ubuntu:~$ ls test
n@ubuntu:~$
There's a difference between knowing your shit, and knowing you're shit. Grammar does matter.