• Mount damaged cdrom (replace device and mount point as appropriate):
    • sudo mount -t iso9660 /dev/cdrom /media/cdrom0
  • Copy files matching a given pattern from a directory tree to a flat directory:
    • find mp3treedir -type f -name \*.mp3 -exec cp {} mp3flatdir \; -print
  • Copy files matching a given pattern from a directory tree to another directory tree:
    • find mp3treedir -type f -name \*.mp3 -print | cpio -pvdum mp3othertreedir


Related Leave a Comment