Tagged Questions
1
vote
1answer
644 views
How synchronize two disks (or folders) using symbolic (or hard) links (like rsync)?
I'm searching a tool or a shell script or another program to synchronize two or more folders or disks.
But it differs of rsync tool, because, I don't want to duplicate the missing file, but do a ...
3
votes
2answers
130 views
ln gives different results when run multiple times
I have this simple script to use with seventh sense (it's a lone wolf gamebook reader/player):
#!/bin/bash
GAME_PATH=$(dirname "$(readlink -f "$0")")
SEVENTH_SENSE_PATH=$(echo ...
2
votes
2answers
506 views
Why is bash completion of a symlink different than a directory?
I usually do a find with an environment variable as the path when searching for source code. Recently I replaced my environment variable with a symbolic link, and it broke Bash's shell completion. ...
6
votes
1answer
246 views
Is there a way to make perl -i not clobber symlinks?
A friend of mine points out that if you do:
perl -pi.bak -e 's/foo/bar/' somefile
when "somefile" is actually a symlink, perl does just what the docs say it will do:
It does this by renaming ...