Re: Questions with rsync

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

 



2009/6/13 gmspro <gmspro@xxxxxxxxx>:
>
> --- On Thu, 6/4/09, Steven Stern <subscribed-lists@xxxxxxxxxxxxx> 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/"

--
Sam

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux