Friday, February 20, 2009

Linux Stuffs

Backing up all of a certain document type off a hard drive

find /mnt/windows -name '*.doc' -exec cp {} /mnt/myusb/backupdir \;

Cobbled together using info from here:

http://www.codecoffee.com/tipsforlinux/articles/21.html
http://www.wagoneers.com/UNIX/FIND/find-usage.html