[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Questions with rsync



--- On Thu, 6/4/09, Steven Stern <subscribed-lists sterndata com> wrote
> > #! /bin/sh
> > cd /media/MyBookLX/sds-desk
> > rm -fr backup.9
> > mv backup.8 backup.9
> > mv backup.7 backup.8
> > mv backup.6 backup.7
> > mv backup.5 backup.6
> > mv backup.4 backup.5
> > mv backup.3 backup.4
> > mv backup.2 backup.3
> > mv backup.1 backup.2
> > cp -al backup backup.1
> > 
> > touch /last_backup_ts
> > rsync -va --exclude-from
> /usr/local/bin/do-backup-excludes --delete /
> > /media/MyBookLX/sds-desk/backup/
> > 
> > The exclude list is
> > 
> > /proc
> > /tmp
> > /var/tmp
> > /media
> > /sys
> > /dev
> > /home/*/.gvfs/
> > /home/*/.google/
> > /home/*/.dbus/
> > /home/*/.fonts/

There are no files like 

/home/*/.gvfs/
/home/*/.google/
/home/*/.dbus/
/home/*/.fonts/

Can I avoid these lines?
And I have some confusions too.
/home/* means everything in the /home directory.
So what does it mean by /home/*/.gvfs?


Thank you for your reply.


      


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]