P.S. If you're willing to ignore matching mtime, there is a --size-only
parameter.

On Sun, May 28, 2023, 9:17 AM Paul Boniol <[email protected]> wrote:

> Funny you should mention rsync. That's what I'm using to copy recent files.
>
> You have to run root (sudo) to so some things (like preserve
> user/group/mtime). And in my case, to not get nagged about not being able
> to change user/group it needs user map and group map parameters. (Shouldn't
> be necessary going to ext4.)
>
> What I ended up choosing was
> sudo rsync -avc --usermap=*:paul --groupmap=*:paul source-dir dest-dir
>
> Obviously do n for trial run till you're sure.
>
> The checksum option obviously takes quite a while for it to start, but not
> choosing checksum, rsync wanted to copy every file, regardless. I'm
> guessing some difference in mtime storage? Idk. The user and group mapping
> were the last thing I set so possible it was something with that.
>
> ---Paul.
>
> On Sun, May 28, 2023, 7:56 AM Howard White <[email protected]> wrote:
>
>> I have struggled with a similar problem.  I have directories of mp3
>> files in two places: ntfs and ext4.  With the demise of iROCK109, I need
>> to resolve all of the ntfs files as the master copied to the ext4 (on my
>> NAS) which I share in the house.  rsync is messing with me over
>> permissions.
>>
>> Howard
>>
>> On 5/28/23 03:21, Paul Boniol 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/CAL9PgS1x3tG5%3DwBYi0%2BAg88mVXVX3q9pzb-Czyqw0SATBxU7gQ%40mail.gmail.com.

Reply via email to