exclude media files is case sensative

Bug #44658 reported by Erez
6
Affects Status Importance Assigned to Milestone
HUBackup
Confirmed
Medium
Unassigned

Bug Description

ie. it won't include foo.mp3 but will include foo.Mp3 and foo.MP3

Revision history for this message
Kyle Brooks (kyle-brooks) wrote :

some information is necessary.
what won't include foo.mp3?

Changed in hubackup:
status: Unconfirmed → Needs Info
Revision history for this message
Sivan Greenberg (sivan) wrote :

Kyle, he meant that when choosing to "Exclude media files", files ending with *.mp3 are excluded but files with *.Mp3 (i.e. case change) are not included. This seems as a bug/limitation of the dar program or rather correct behavior of a unix system. What would be wise here is to do as suggested by bug 43928 and improve the exclusion/inclusion mechanism to be customized by the user.

Changed in hubackup:
status: Needs Info → Unconfirmed
Revision history for this message
Sivan Greenberg (sivan) wrote :

I will confirm this bug as soon as someone else manages to reproduce, or I will test myself.

Revision history for this message
Wolfgang Silbermayr (silwol) wrote :

I could easily reproduce this error. In the attachment, I have the results for this. I also tried out some command-line params for dar, which seem to provide an easy solution. A small example here:

silwol@eierspeise:~$ dar -Q -y -v -m 256 -s 4G -D -R /home/silwol/backuptest -c /home/silwol/.hubackup-data/silwol-master-archive -Z "*.gz" -Z "*.bz2" -Z "*.zip" -P .hubackup-data -P .Trash -X *.[oO][gG][gG] -X *.[mM][pP]3

This excludes all files ending on .mp3 and .ogg regardless of the case, and backups none of the files that were backupped in my log file.

Sivan Greenberg (sivan)
Changed in hubackup:
assignee: nobody → sivan
status: Unconfirmed → Confirmed
assignee: sivan → nobody
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.