Fixing signal 13 error on find
I have a situation where I'm trying to install softwares into my system. I'm using a fakeroot approach to install them in a separate directory where I'm listing all the files, directories and links they install into 3 files FILES,DIRS,LINKS. Then I'm using find to get sha1sums of all files in a file named sha1sums. I don't want the sha1sum of the file sha1sums itself. So I used this command
Code:
find . -type f -exec sha1sum {} \; | grep -ve "\./sha1sums$" >sha1sums Code:
find: 'sha1sum' terminated by signal 13
Also I checked that there are some sha1sums listed on the file "sha1sums". It just stops after a certain point Thanks in advance. |
some of your filenames may have spaces in try using '{}' instead of {}
|
All times are GMT -5. The time now is 02:54 PM. |