---
# System prepended metadata

title: '2025-02-13: MSD GM Stashing'

---

# 2025-02-13: MSD GM Stashing

## Notes

- `dereference` to resolve symlinks before
- If compressed file already exists, raise exception -> GP: Better, no filename
- Support `zip` format, as well, as it's the only format, which allows extracting a single file from the compressed archive
- Current attachment to CalcJob's metadata requires defining the stashing _before_ the job is being run -> Why not make it as a separate CalcJob, so one can also run it afterwards
- Unstashing
    - Keep provenance or not?
    - Put it at different location or re-create original folder -> both
    - At new path, it should be a new RemoteData node?
    - If at original path, either ignore provenance, or create new RemoteData, avoid cycles in the provenance graph
- GP: `verdi [un]stash` should support batch operations, because it will require opening transports
- 
