A book about the command line for humans.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
215 B

10 years ago
10 years ago
10 years ago
  1. #!/bin/bash
  2. if [ ! $1 ]
  3. then
  4. echo "usage: findprop <property>"
  5. exit
  6. fi
  7. # find all the marker files and get the name of
  8. # the directory containing each
  9. find ~/p1k3/archives -name $1 | xargs -n1 dirname
  10. exit 0