Mirroring the Content of a Log File

-- at FreeBSD.ORG -- at FreeBSD.ORG
Wed Jun 18 04:37:57 PDT 2003


Hi!

I have a log file containing /path/to/filenames of all my important configuration files:

# cat log.FILES.ninja

  +----- /sys/i386/conf/AEGIS
  |
  +----- /usr/home/johann/.tcshrc
  +----- /usr/home/johann/.fetchmailrc
  +----- /usr/home/johann/.gtkrc
  +----- /usr/home/johann/.login
  +----- /usr/home/johann/.mailcap
  +----- /usr/home/johann/.mime.types
  +----- /usr/home/johann/.muttrc
  +----- /usr/home/johann/.signature
  +----- /usr/home/johann/.xinitrc
  +----- /usr/home/johann/.lftp/settings
  +----- /usr/home/johann/.wine/config

  [the rest continues like that]

How do I mirror all the files and directories in this file into ~/backup?

Thanks!
==j


More information about the freebsd-questions mailing list