• 1 Post
  • 85 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
    8 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.