Bash with Rsync into the future

To sync all of the mp3 files from a path (pwd) to another location, you can run this first to test to see what would copy: find -ctime -60 -name “*.mp3″ -print0 | rsync -aucvn –files-from=- –from0 ./ /path/to/destination/ Then remove the “n” from the rsync flags to copy, archive style, all files with update…

Bash one liners

Below I will post some useful Linux Bash or *ash similar command code. Some of these will seem trivial to those that know and to the rest, will hopefully be future cheat sheet material. Commands: [ctrl]-r = search bash history for entered string [ctrl]-k = delete all characters to the end of the line [ctrl]-u…