Re: tar exclude cache

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

 



On 12/21/2015 06:11 PM, Rick Stevens wrote:
On 12/21/2015 05:37 PM, Doug H. wrote:
On Mon, 2015-12-21 at 16:19 -0800, Rick Stevens wrote:
On 12/21/2015 02:41 PM, Patrick Dupre wrote:
Thank you

By the way, the signature is the MD5 hash of the string
".IsCacheDirectory" and it's SPECIFICALLY looked for by tar:

[snip of great info]

As a bonus question; do you know why md5sum is showing a different
value, as in...

echo ".IsCacheDirectory" | md5sum -
6929f806dd11bc634be8205d11af24d6  -

I used "John the Ripper" to prove that 8a477f597d28d172789f06886806bc55
really *is* the hash of .IsCacheDirectory but I am not clear on what
md5sum is giving me.

Has to do with end-of-line stuff. Try:

     [root@prophead tmp]# printf "%s" ".IsCacheDirectory" | md5sum
     8a477f597d28d172789f06886806bc55  -

(the "-" at the end is md5sum telling me that it was looking at stdin).

Additional:
	[root@prophead tmp]# echo -n ".IsCacheDirectory" | md5sum
	8a477f597d28d172789f06886806bc55  -

("echo -n" means "don't include the newline")

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-   I haven't lost my mind.  It's backed up on tape somewhere, but   -
-                       probably not recoverable.                    -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux