At long last I’m finally switching operating system for my gaming PC. I have a lot of photos and such saved that have been moved from an NTFS drive. Is there any tool out there to help me fix the permissions of these files according to file type in bulk?

  • stuner@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 day ago

    I wanted to write the same thing. E.g., you can run this in bash to set the permissions for all .conf files to 600:

    find /mnt/the/directory -iname "*.conf" -exec chmod 600 {} \;