Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible misbehaviour of du in get_source_file_size() when using include/exclude globbing filelists #101

Open
zertrin opened this issue Jul 6, 2015 · 3 comments

Comments

@zertrin
Copy link
Owner

zertrin commented Jul 6, 2015

It doesn't seem that the function get_source_file_size() handles the case when include/exclude globbing filelists are used.

This should be fixed in a future version.

@zertrin zertrin added the bug label Jul 6, 2015
@arichiardi
Copy link

If I may add a request to this one, it would be great if the -l option could show the size of the backed up files so that one can grep+awk and check whether there is something that needs shrinking.

@zertrin
Copy link
Owner Author

zertrin commented Sep 8, 2016

Some more info on this issue: the problem is basically that when using include/exclude-filelists with duplicity, there isn't yet an easy way to translate that into something that du can understand. Thus the script fallback to just applying du to the ROOT variable.

Help and patches are welcomed ;)

@arichiardi
Copy link

I guess the patch could also involve #113 as there must be a new way to provide the--exclude/include-filelist options somehow and from there process the +/--es.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants