← Learn
Safe
jq -r '.files[] | select(.stale) | .path' index.json | tr '\n' '\0' | xargs -0 rm -f

linux · bash · Expert

The safe twin of the unquoted version: tr turns the line separators into NUL bytes and xargs -0 splits only on those, so a path containing…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More File System