-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
I am using the new coreutils on ubuntu 25.10
When running 'md5sum *' in a directory that has directories and files, md5sum exits when it encounters a directory without calculating the md5 of all files that follow.
The gnu version of md5sum is just printing a message and continues calculating checksums.
For example:
/tmp/test
❯ ls -al
total 12
drwxrwxr-x 3 user 120 Oct 15 13:53 .
drwxrwxrwt 52 root 1340 Oct 15 13:52 ..
-rw-rw-r-- 1 user 9 Oct 15 13:52 file1
-rw-rw-r-- 1 user 9 Oct 15 13:52 file2
drwxrwxr-x 2 user 40 Oct 15 13:52 test
-rw-rw-r-- 1 user 8 Oct 15 13:53 ufile1
/tmp/test
❯ md5sum *
d23ad13e4add7dc2ed0a5cf26e4a3735 file1
ec3f5bae3241bca96a10696f2412bb7f file2
md5sum: failed to read input: Is a directory
/tmp/test
❯ gnumd5sum *
d23ad13e4add7dc2ed0a5cf26e4a3735 file1
ec3f5bae3241bca96a10696f2412bb7f file2
gnumd5sum: test: Is a directory
ba24d6e16402dc864b85fc24069d1d09 ufile1
Metadata
Metadata
Assignees
Labels
No labels