0

I have 5 FTP users that upload files (and subdirectories) in their home directory, i need to mirror theese directories beetween them and with a "master" directory (accessible from a 6th user). Files can contain spaces or others special caracters. All the files are in the same filesystem, and i want to use hard link because i don't want to waste 5 time the space of a single file.

I tried with find but i cannot handle spaces in it.

  • Re "I tried with find but i cannot handle spaces in it.": You were doing it the wrong way, then. Post the command that you tried. – grawity Apr 11 '11 at 18:05
-1

Hardlink the directory

 ln [OPTION]... TARGET... DIRECTORY     (3rd form)

Spaces should be processed using "name with space" or name\ with\ space I guess.

  • Directories cannot be hardlinked on any modern filesystem without resorting to black magic. – grawity Apr 11 '11 at 18:04
  • In my system it's not possible to hard-link one directory... Directories can only be soft-linked. – Aleritty Apr 13 '11 at 7:08

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.