New answers tagged symlink
2
votes
Accepted
Unable to symlink directory with all file contents
It's not clear what exact effect you're trying to achieve: just a directory symlink, or a "link farm" where symlinks point to individual files?
A symlink is a tiny file which holds a path. ...
1
vote
Is there any elegant way to find only symbolic links pointing to directories, not other files?
Disclaimer: I'm the current author of rawhide (rh) (see https://github.com/raforg/rawhide)
With rawhide (rh) you can do:
rh 'l && td'
Or, more verbosely/readably:
rh 'link && ...
1
vote
Accepted
does rsync switch -a (ARCHIVE) always includes -l (symlinks)
According to man rsync it does:
-a archive mode is -rlptgoD (no -A,-X,-U,-N,-H)
So you do not need -l if you're using -a.
It's always been like that, one can view the source code (...
Top 50 recent answers are included
Related Tags
symlink × 1141linux × 143
bash × 95
files × 83
filesystems × 83
ln × 75
directory × 72
shell × 70
hard-link × 67
permissions × 59
find × 52
shell-script × 44
rsync × 44
ls × 37
mount × 34
cd-command × 33
command-line × 30
cp × 29
debian × 27
ubuntu × 26
filenames × 26
path × 23
macos × 22
zsh × 21
rm × 21