I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
replace it with a non-symlink:
To show the problem I am attempting to solve:
foo: (owned
On 09/09/10 18:24, Aryeh Friedman wrote:
I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
replace it with a non-symlink:
cpio -pdl
Should of mentioned that I was using C as an example we are in fact
using Java and the archives in question are jar's
On Thu, Sep 9, 2010 at 1:50 PM, Arthur Chance free...@qeng-ho.org wrote:
On 09/09/10 18:24, Aryeh Friedman wrote:
I want to make it so every file is a seperate symlink in dir2
On 09/09/10 18:50, Arthur Chance wrote:
On 09/09/10 18:24, Aryeh Friedman wrote:
I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
replace
On 9/9/2010 12:24 PM, Aryeh Friedman wrote:
I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
replace it with a non-symlink:
To show the
After playing around here is what I came up with (cpio -l never did
the links right):
#!/bin/tcsh
foreach i ( `find ~aegis/fnre/baseline/src/ -type d | grep -v
src/build | cut -f6- -d'/'` )
mkdir $i
end
foreach i ( `find ~aegis/fnre/baseline/src/ -type f -name '*.java' |
grep -v
On Thu, 9 Sep 2010 13:24:50 -0400, Aryeh Friedman aryeh.fried...@gmail.com
wrote:
I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
At 1:24 PM -0400 9/9/10, Aryeh Friedman wrote:
I want to make it so every file is a seperate symlink in dir2 if and
only if it is a regular file (not a dir) in dir1... the reason is if
the file is unchanged then use symlink but I can rm the symlink and
replace it with a non-symlink:
To show the
Aryeh == Aryeh Friedman aryeh.fried...@gmail.com writes:
Aryeh I want to make it so every file is a seperate symlink in dir2 if and
Aryeh only if it is a regular file (not a dir) in dir1... the reason is if
Aryeh the file is unchanged then use symlink but I can rm the symlink and
Aryeh replace
Randal == Randal L Schwartz mer...@stonehenge.com writes:
Randal I think null-mounts would do what you're trying to do... as in, as long
Randal as you're reading, you're reading from the old stuff, but if you ever
Randal write something new, all the right bits get created in the new dir.
Randal
On Thu, Sep 09, 2010 at 04:28:59PM -0400, Garance A Drosehn wrote:
I believe early X11-distributions had a script called lndir
would pretty much do exactly what you want here. And then
there was a companion command called breakln which would
remove the symlink and make a copy of the
At 2:54 PM -0600 9/9/10, Chad Perrin wrote:
On Thu, Sep 09, 2010 at 04:28:59PM -0400, Garance A Drosehn wrote:
I believe early X11-distributions had a script called lndir
would pretty much do exactly what you want here. And then
there was a companion command called breakln which would
On Thu, Sep 09, 2010 at 08:23:09PM -0400, Garance A Drosehn wrote:
It looks like my 'lndir' script started out as a copy of a
script named 'lndir.sh' that the XConsortium had in Oct 1988.
[snip]
Given that the port is written in C and much more recent, I
suspect it is the right way to
13 matches
Mail list logo