654
I am easy to amuse (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] eugenevdebs@lemmy.dbzer0.com 8 points 3 days ago* (last edited 3 days ago)

A more complex but more commonly used program is rsync

rsync -rav /home/user/Documents /mnt/usbdrive is treated differently than rsync -rav /home/user/Documents/ /mnt/usbdrive which is different than rsync -rav /home/user/Documents /mnt/usbdrive/ which is different than rsync -rav /home/user/Documents/ /mnt/usbdrive/

It's a great tool for making copies onto drives, even servers. But man you have to double check how each folder path is laid out, otherwise it'll write the files of one folder to the main drive, unorganized.

this post was submitted on 14 May 2025
654 points (97.9% liked)

Programmer Humor

23310 readers
1263 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS