Re:I Accidentally Deleted 7TB of Videos Before Going to Prod...
by jagged-chisel on Thursday May 05, 2022 @07:17AM
(#31271919)
This is how I do it in compiled code. In shell, I print the destructive command for dry runs - no conditions around whether to print or not, I go back to remove echo and printf to actually run the commands.
[ Parent
| on HN ]
There are no comments on this comment yet.