Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What are your Unix pipeline commands that saved you from lot of coding/time? (dev.to)
11 points by djug on Oct 28, 2017 | hide | past | favorite | 2 comments


Well, there's always the classic for backing up an entire directory structure:

find . [optional criteria] -depth -print | cpio -ovBm -O <device/path>


IMHO, unless you want to use this as part of some larger script, ncdu is far superior for this particular problem.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: