Hi Paul,

   I don't recall any backup utilities that would just grab the file
attributes without also grabbing the data, but I do have a few thoughts on
the subject.

      1)  Run:  find /starting_point -ls > save
           If you'd prefer to run it the long way:   find /starting_point
-exec ls -l {} \; > save

          This will get you perms, owner, and group.  Recovery would be
manual, or maybe it could be scripted out.  I prefer find over ls -lR for
this, as it is one file/directory per line as it iterates through the
subdirectories - no blank lines to make it look pretty.

      2)  Also remember that chown, chgrp, and chmod all have a -R option,
for recursive.  If a good chunk of the files and directories are the same,
that would help get the bulk of them done, and then you'd just have to
manually set the remaining.

   Hope this helps.

Dan

On Sun, May 28, 2023 at 3:21 AM Paul Boniol <[email protected]> wrote:

> Way back, I should have paid more attention... but I have like 3 TB of
> video recordings backed up to an external (exfat) hard drive (should have
> reformatted as ext4 first but I didn't think about it first).
>
> Now I'm preparing to do a fresh Linux install. And I'm wanting to somehow
> backup the user/group/permissions for the directories and files.
>
> I can look and write them down as most would be the same. Just wondering
> if there's some better way.
>
> ---Paul.
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nlug-talk/CAL9PgS20P7Ly3%2BXJTDp%2B0jEr9igB8kgVO3-YPfBT5VJhoJAUyw%40mail.gmail.com
> <https://groups.google.com/d/msgid/nlug-talk/CAL9PgS20P7Ly3%2BXJTDp%2B0jEr9igB8kgVO3-YPfBT5VJhoJAUyw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAEH-QC--2YdvBD6XVWX2-2PCqOK%2B%2BAufwrWN9tsaLOepts9SFw%40mail.gmail.com.

Reply via email to