Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
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
DrScump
on Oct 29, 2017
|
next
[–]
Well, there's always the classic for backing up an entire directory structure:
find . [optional criteria] -depth -print | cpio -ovBm -O <device/path>
Pinckney
on Oct 28, 2017
|
prev
[–]
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:
find . [optional criteria] -depth -print | cpio -ovBm -O <device/path>