#directory
3 discoveries · Hand-picked discoveries from the open web, newest first.
-
Show HN: TempCD – Temporarily CD in a directory with one command
TempCD is just a small thing I made, its only purpose it to eliminate having to enter cd again after only wanting to do one command in a directory. Super simple, just: > tcd ~/example ~/example> command command output > That's it, just returns you back to where you were before without having to type cd again. Comments URL: https://news.ycombinator.com/item?id=50477500 Points: 1 # Comments: 0
Show HN · EN
-
Show HN: RotateAd – A permanent web directory and banner exchange
RotateAd is an advertising network for websites, SaaS, blogs, tools and side projects. Claim a permanent seat, install one banner, and join the network.
Show HN · EN
-
Use rsync to compare large directory trees
I had to rewrite some large back-ups recently in order for restic to properly de-duplicate them. I checked that the re-written back-ups are identical to the original ones by comparing the entire directory trees of the mounted back-ups. I had some doubts on whether diff -qr or rsync -acni --delete would be the best approach and did some benchmarks and tests using /usr (total: 3.2GB) which has a large mix of files and permissions. I first tried a bind mount, but diff skips comparing anything entirely since it determines that both directories have the same device/inode. I used a copy of /usr inst
Hugo's weblog on WhyNotHugo (雨果) · EN