Skip to content

Commit

Permalink
new-post: introducing the prune command in REANA client
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-steduto committed Apr 24, 2023
1 parent 560d0dc commit 72c58f7
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions content/posts/2023/reana-client-prune-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: "Free up disk space in REANA workspaces with the new prune command"
date: 2023-04-24T07:00:00+01:00
---

The new prune command in the reana-client software allows users to easily
free up disk space in their REANA workspaces by deleting temporary files
that are neither inputs nor outputs. This can help manage cluttered
workspaces and prevent running out of disk space.

<!--more-->


## Enable Kerberos for a single workflow step

The management of disk space in REANA can be a challenge, especially when the workspace is
cluttered by numerous temporary files that are no longer needed.
If you have been looking for a way to easily free up disk space in your workspaces,
look no further than the new `prune` command in `reana-client`!

With the `prune` command, you can easily delete all the files from your workspace that are
neither input nor output files. This can free up a significant amount of disk space and make
your workspace much more manageable. Plus, if you need to free up even more space, you can use the
`--include-inputs` and `--include-outputs` flags to delete those kinds of files too.

So how do you use the `prune` command? It's easy! Just run `reana-client prune -w <workflow_name>` to
delete all the files from the workspace of the specified workflow that are neither input nor output files.
If you want to include input or output files in the deletion process,
use the `--include-inputs` or `--include-outputs` flags, respectively.

However, it's important to note that running the prune command will permanently delete the files
from your workspace. This means that you should make sure you have backed up any files you want to keep
before running the command. Additionally, be careful when using the `--include-inputs` or
`--include-outputs` flags, as deleting input or output files could impact the results of your workflow.

The prune command is available in REANA starting from version 0.9.1.

We hope you find this new feature useful for managing your REANA workspaces and freeing up
valuable disk space. As always, if you have any feedback or suggestions for how we can improve
REANA, please let us know!

## See also

- [REANA Client](https://reana-client.readthedocs.io/en/latest/) documentation page

0 comments on commit 72c58f7

Please sign in to comment.