Re: [BackupPC-users] Identical files

2019-07-25 Thread Ted Toal
>> From a practical perspective, files x and y are identical if and only if
>>  `diff x y` returns 0. It's really just about the content.

Thanks, Alex!

 ...What about filename and file directory, do these have to match
  for a pair of files to be identical?

>> They wouldn't be identical files.  They'd be the same file. :)

Yes of course. :-)  I was thinking though, what if the directory was the same 
but filename was different (a copy of the file), or the filename was the same 
but directory different (copy of file in different directory using same name).  
And I’m glad to hear they are still detected as the same file!  That should be 
added to that documentation sentence.  I’d do it myself but don’t know how.  Is 
it easy to make updates to the documentation?



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Identical files

2019-07-25 Thread G.W. Haywood via BackupPC-users

Hi there,

On Thu, 25 Jul 2019, Ted Toal wrote:


...What about filename and file directory, do these have to match
for a pair of files to be identical?


They wouldn't be identical files.  They'd be the same file. :)

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Identical files

2019-07-25 Thread Alexander Kobel
On 24.07.19 23:07, Ted Toal wrote:
> BackupPC documentation says ‘by "identical files" we mean files with 
> identical contents, not necessary the same permissions, ownership or 
> modification time.’  What about filename and file directory, do these have to 
> match for a pair of files to be identical?

No. And the on-disk representation may be different, too - inodes,
filesystems, sparsity, (transparent) compression and encryption, name
it; the files might even be on different machines, that's quite
expected... ;-)

From a practical perspective, files x and y are identical if and only if
`diff x y` returns 0. It's really just about the content.


HTH,
Alex



smime.p7s
Description: S/MIME Cryptographic Signature
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/