Re: inconsistent checksums on copied directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> > 
> > my problem is not with by-file verification,
> > but on the directory as a whole....
> 
> Not sure I follow you. Both methods /do/ check "the
> directory as a 
> whole" -- i.e. the entire contents of the directory
> and everything under 
> it, however they do it at a level of comparing
> individual files.
> 
i am trying to verify a copied directory
in one shot- thus-
i create a temporary archive with
'tar cf - dir_name'
and then pipe it to sha1sum:
tar cf - dir_name | sha1sum
for the original and copied directories,
for each while in its parent directory.

> 
> Rsync's /raison d'etre/ is to make exact copies of
> entire directory 
> trees, including metadata, so if it finishes without
> error, you can be 
> confident that you have a good copy.
interesting. cp -a also preserves metadata

> 
> Giving tar the "--verify" option will cause it to do
> checksum 
> verifications as well.
> 
> If you require a method that works
> 'offline'--without access to the 
> actual directories themselves--then that's a
> different issue.
> 
nice. but tar tells me that it
Cannot verify stdin/stdout archive

charles f zeitler


:                  Do  What Thou  Wilt                     :
         
:                       Shall  Be                          :

:                The  Whole  of The  Law                   :

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux