~/.gvfs is annoying for sysadmins

Tim Henderson bizdev at pwnspeak.com
Sun Mar 13 03:18:45 UTC 2011

On 03/12/2011 07:15 AM, Tapas Mishra wrote:
> On Sat, Mar 12, 2011 at 1:39 PM, Tom H<tomh0665 at gmail.com>  wrote:
>> Why don't you blacklist "~/.gvfs/" in your backup routines since it's
>> just a mount point and you're presumably backing up whatever share(s)
>> is(are) being mounted there?

Of course I have it blacklisted :)

> How can this be done?

It really depends on your backup routine, as Tom puts it.

rsync you could use --exclude=.gvfs or include it in your --exclude-file.

For others (tar cp ect) read up in the man files on how to exclude files 
according to regex or filename.

Tim H.

More information about the ubuntu-users mailing list