Actually the Regexp looks better if it is

/home/[^/]+?/\.local/share/Trash/

instead of

/home/[^/]+?/Trash

For 0.10.5 that would make a patch like this

diff -Nru sbackup-0.10.5/sbackup.conf.example 
sbackup-0.10.5-new/sbackup.conf.example
--- sbackup-0.10.5/sbackup.conf.example 2008-06-15 17:39:25.000000000 +0200
+++ sbackup-0.10.5-new/sbackup.conf.example     2008-07-17 19:48:37.000000000 
+0200
@@ -53,7 +53,7 @@
 #      of the file, it will NOT be backuped. Keep this list as specific 
 #      and as short as possible.
 
-regex=\.mp3,\.avi,\.mpeg,\.mpg,\.mkv,\.ogg,\.ogm,\.tmp,/home/[^/]+?/\.thumbnails/,/home/[^/]+?/\.Trash,/home/[^/]+?/\..+/[cC]ache,/home/[^/]+?/\.gvfs/
+regex=\.mp3,\.avi,\.mpeg,\.mpg,\.mkv,\.ogg,\.ogm,\.tmp,/home/[^/]+?/\.thumbnails/,/home/[^/]+?/\.local/share/Trash/,/home/[^/]+?/\..+/[cC]ache,/home/[^/]+?/\.gvfs/
 
 # Do not backup files bigger then this (in bytes)
 

** Attachment added: "sbackup-0.10.5_0.10.5.new.patch"
   http://launchpadlibrarian.net/16121773/sbackup-0.10.5_0.10.5.new.patch

-- 
Simple backup Regex for Trash to be changed for using gvfs
https://bugs.launchpad.net/bugs/249292
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to