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

self-cleanup #3

Closed
vpeil opened this issue Jan 13, 2016 · 2 comments
Closed

self-cleanup #3

vpeil opened this issue Jan 13, 2016 · 2 comments

Comments

@vpeil
Copy link
Member

vpeil commented Jan 13, 2016

By running the nice example script https://github.com/LibreCat/Catmandu-BagIt/blob/master/examples/oai2bagit.sh one issue occurs to me: Files are fetched into /tmp, after the bag is created the files remain in the /tmp-directory and one runs out of disk space..

can we delete the tempfile after the bag has been created?

@phochste
Copy link
Member

Can you provide some details on the OS? The code is self cleaning tempfile() is used that should automatically delete the fetched files after each record.

@vpeil
Copy link
Member Author

vpeil commented Jan 14, 2016

I'm on debian, but had the same issue on openSuse server...

on debian:

$ uname -a
Linux ubi 4.2.0-1-amd64 #1 SMP Debian 4.2.6-3 (2015-12-06) x86_64 GNU/Linux

On 14/01/16 15:28, Patrick Hochstenbach wrote:

Can you provide some details on the OS? The code is self cleaning
tempfile() is used that should automatically delete the fetched files
after each record.


Reply to this email directly or view it on GitHub
#3 (comment).

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

No branches or pull requests

2 participants