(enhancement) Include pattern to include files with a given extension

Bug #701662 reported by Jose Luis Tirado
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Back In Time
Confirmed
Medium
Unassigned

Bug Description

I think it would be very interesting to be able to create a pattern to select all the files with a given extension, starting from folder and recursively down all its folder. For instance, I want to back up all of my *.conf files inside /etc to keep track of configuration changes.

Changed in backintime:
status: New → Confirmed
Dan (danleweb)
Changed in backintime:
importance: Undecided → Medium
Revision history for this message
Dan (danleweb) wrote :

Actually this is more like add an include pattern.

Revision history for this message
Removed by request (removed4606406) wrote :

Actually, I want to backup my videos directory, but not the avi files. (basically: subtitles, posters, anything except the huge movie files), so I've set to include /home/user, exclude /home/user/Videos/*.avi.

The rsync command line in sysmon shows an exclude for /home/user/Videos/*.avi, but still backs them up... (changed it now to exlude /home/user/Videos/ which excludes everything and is fine as a temporary solution as I'll copy the other files in the init-callback)

Revision history for this message
Germar (germar) wrote :

As Dan pointed out in #1 this bug is about include pattern. Which is still not possible in BIT.

But you are looking for an exclude pattern. Adding '/home/user/Videos/**/*.avi' to exclude will do the trick.

With next major version 1.1.0 BIT can also exclude files by size.

summary: - (enhancement) Exclude pattern to filter out all files but those with a
- given extension
+ (enhancement) Include pattern to include files with a given extension
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.