Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #7888
| From | Rui Maciel <rui.maciel@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: may i have a soft link poiting to two directories at the same time? |
| Date | 2013-04-17 22:34 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <kkn4bn$cjo$1@dont-email.me> (permalink) |
| References | <5d6a6b03-844d-4fca-9e92-afdea3231b4b@googlegroups.com> <e6734axjqb.ln2@goaway.wombat.san-francisco.ca.us> |
Keith Keller wrote: > Your initial proposal, pointing one symlink to two different places, is > unfortunately not possible. However, you can still use symlinks to > avoid the copying step. See if this works for your purposes: > > mkdir targetDir > cd targetDir > ln -s /path/to/dir1/* . > ln -s /path/to/dir2/* . I would add that if all files are stored in the same file system then instead of creating symlinks for the files, hard links should be used instead. In fact, this is exactly what they were created to accomplish. Rui Maciel
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
may i have a soft link poiting to two directories at the same time? www <xsli2@yahoo.com> - 2013-04-17 11:23 -0700
Re: may i have a soft link poiting to two directories at the same time? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-04-17 11:45 -0700
Re: may i have a soft link poiting to two directories at the same time? Rui Maciel <rui.maciel@gmail.com> - 2013-04-17 22:34 +0100
Re: may i have a soft link poiting to two directories at the same time? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-04-17 15:03 -0700
Re: may i have a soft link poiting to two directories at the same time? David Brown <david.brown@removethis.hesbynett.no> - 2013-04-20 19:44 +0200
Re: may i have a soft link poiting to two directories at the same time? Aragorn <stryder@telenet.be.invalid> - 2013-04-17 20:51 +0200
Re: may i have a soft link poiting to two directories at the same time? J G Miller <miller@yoyo.ORG> - 2013-04-17 20:27 +0000
Re: may i have a soft link poiting to two directories at the same time? Bill Marcum <bill@nowhere.invalid> - 2013-04-24 06:42 -0400
csiph-web