• 0 Posts
  • 65 Comments
Joined 8 months ago
cake
Cake day: November 3rd, 2023

help-circle

  • I don’t know what fd does, but at a guess maybe what you’re missing is that tar includes all the files in directories you give it? So if you exclude ‘foo/bar’ but include ‘foo’ then foo/bar will be in your tar file.

    What I do is basically tar cf `ls ~ | grep -v $files_to_exclude` but if you want to exclude something that isn’t a top-level directory you’d need to get slightly more fancy.











  • kbal@fedia.iotoLinux@lemmy.mlSSH as a sudo replacement
    link
    fedilink
    arrow-up
    13
    arrow-down
    8
    ·
    edit-2
    9 days ago

    It has some advantages. It can be configured with simple text files and normal filesystem permissions. The sshd code is mature and has a proven record of good security. It doesn’t add yet another thing to systemd that has no business being part of systemd.





  • kbal@fedia.iotoxkcd@lemmy.worldxkcd #2948: Electric vs Gas
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    13 days ago

    Yeah, a general “electric vs. gas” comparison which elides the two big disadvantages of electric in familiar applications (which aren’t to be found in the motor) seems slightly subpar for xkcd. It’s valid from a certain narrow engineering perspective but not too helpful if what you’re thinking about is motorcycles.

    If fossil fuels were so easy to give up we’d have done it by now.