Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #198877

Re: How to exclude Some but not All dot files?

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: How to exclude Some but not All dot files?
Date 2018-08-16 19:00 +0200
Message-ID <wntMR-63E-3@gated-at.bofh.it> (permalink)
References <wnrL3-4VA-1@gated-at.bofh.it> <wnsnM-5n9-7@gated-at.bofh.it> <wntDb-60K-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday 16 August 2018 12:46:30 cyaiplexys wrote:

> On 08/16/2018 11:21 AM, Greg Wooledge wrote:
> > On Thu, Aug 16, 2018 at 11:19:29AM -0400, cyaiplexys wrote:
> >> I actually have several accounts which I want to back up but not
> >> include all the dot files. It would be too much to go into each
> >> account and run a script. I would like to do it from one account.
> >
> > Then do it from /home.
> >
> > Or do it from / and use "home" as the starting point.  Rather than
> > "/home".
>
> Thank you. This worked like a charm and I didn't have to deal with
> those warning messages in tar. Learned something new. :)

Excludes in amanda, which uses tar, are anchored to the directory they 
are in, so the exludes file looks like:
./name
./.name should also work for the "dot" files


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: How to exclude Some but not All dot files? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-16 16:50 +0200
  Re: How to exclude Some but not All dot files? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-08-16 17:20 +0200
    Re: How to exclude Some but not All dot files? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-16 17:30 +0200
      Re: How to exclude Some but not All dot files? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-08-16 17:40 +0200
      Re: How to exclude Some but not All dot files? cyaiplexys <cyaiplexys@sitesplace.net> - 2018-08-16 18:50 +0200
        Re: How to exclude Some but not All dot files? Gene Heskett <gheskett@shentel.net> - 2018-08-16 19:00 +0200

csiph-web