projects
/
vrac.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use builtin say
[vrac.git]
/
txxd.sh
1
#!/bin/sh
2
3
where=/home/david
4
to=/home/david/test
5
for i in `find ${where} -maxdepth 1 -type f -exec echo "{}" \;`; do
6
7
match=$( xxd -l 6 -s 0 -ps ${i} )
8
[ "${match}" = "6c73202d6c20" ] && echo "${i}" "${to}/"
9
10
done
11