Re: Rsync, how to include ~/.files but not ~/.dirs



On Fri, 26 Jan 2007 01:52:10 +0000 (UTC)
"][" <mlist4suntong@xxxxxxxxx> wrote:


I should have said I was trying to backup the /home directory,
although the exclude list hinted so. I was trying to cut the craps,
not bring along a life long story, but apparently I trimmed too
much. :-)

Ok, fair enough. two pass is a solution. But I have to add every
single user in my /home directory, and if there is change in account,
i.e. more or less people, I'll be in trouble.

You could script that part. A trivial example:

cd /home
for FILE in $(ls); do file $FILE; done


Anyway, if that's the only solution. fine.


I understand your frustration. A solution which allows you to
distinguish between dot directories and other directories would be
neater.

--

Liam


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Rsync, how to include ~/.files but not ~/.dirs
    ... I was trying to cut the craps, ... a life long story, but apparently I trimmed too much. ... There are seldom any dot dirs at other levels. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: My own emails
    ... On Thu February 28 2008 05:19:38 pm Rich Healey wrote: ... the solaris list does this and it makes life much easier, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Want to discover the secret of getting success?
    ... to be successful in any walks of life? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • (solved)Re: which package has iwconfig in etch?
    ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ... - their life, your story. ... Play Sims Stories at Yahoo! ...
    (Debian-User)
  • rdate, ntp configuration
    ... rdate: connect: Connection refused ... For the life of me I cannot find where this is configured. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)