On 11/1/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:

I have no strong opinion about what language they be implimented in ..
ideally it would be nice if they could be done in java so there were no
additional dependencies (ie: bash or python) ... but i'm not sure if
making hardlinks in java is really feasible.

It seems hard to not depend on _something_ which provides shell-like
functionality, if not a shell itself.  I also suspect that java
wouldn't be up to the task.

The nice thing about using python (or some other cross-platform
scripting language) is that it abstracts away platform details.
os.path.join('a', 'b') -> 'a/b' on linux and 'a\b' on windows.

is it something that can be done natively in python?

os.link(src, dest)

regards,
-Mike

Reply via email to