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

Re: Questions with rsync





--- On Sat, 6/13/09, Sharpe, Sam J <sam sharpe+lists redhat 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.


      


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