Questions with rsync

gmspro gmspro at yahoo.com
Sat Jun 13 14:35:59 UTC 2009




--- On Sat, 6/13/09, Sharpe, Sam J <sam.sharpe+lists.redhat at gmail.com> wrote:
> >> > #! /bin/sh
> <snip>
> >> > /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?
> 
> Yes.
> 
> > And I have some confusions too.
> > /home/* means everything in the /home directory.
> > So what does it mean by /home/*/.gvfs?
> 
> * expands to everything in the directory, so if you have:
> 
> /home/user1
> /home/user2
> /home/user3
> 
> That expands to /home/user1/.gvfs/ /home/user2/.gvfs/
> /home/user3/.gvfs/
> 
> To put it in English, it means "the .gvfs folders within
> every
> subdirectory of /home/"

I got the .gvfs directory.
ls -al shows this directory in /home/user.
Can you tell why "ls -la | grep .gvfs" does not show any result?

> 
> --
> Sam

Thanks.


      




More information about the fedora-list mailing list