parsed.org

Tips by tag: tree

Recursive WGET by xinu on Jan 12, 2005 10:57 AM

Download an entire directory tree:

$ wget -r ftp://username:password@site/path/to/suck
commandsdirectorydownloadftpshelltreewget
Tracking Down Symlinks by xinu on Jun 24, 2005 01:41 PM

Make sure you always specify a path free of symlinks. This can be pretty tough, though. An alternative approach is to use namei to track down symlinks:

# namei /usr/X11/bin/xterm
f: /usr/X11/bin/xterm
d /
d usr
l X11 -> X11R6
  d X11R6
d bin
- xterm
commandsdirectorynameipathshellsymlinkstree
RSS