# copy type=file and change-time in last 2 days, default unit is day, can be (s m h d w)
# copy out to folder `../new` with folder structure
# http://note.tc.edu.tw/548.html
find -ctime -2 -type f -exec cp --parents '{}' ../new \;


# zip directory
tar -zcvf archive.tar.gz directory/
# unzip directory
tar -zxvf archive.tar.gz

# search `console` in folder
find -type f | xargs grep "console"