OmniBoot v1.5

Copy preserving all attributes, verbose
cp -av /foldera /folderb

List filenames including relative foldername
find . -print

Count all files below current directory
ls -r |wc -l

Find string in files recursive from local path
find . -type f -print | xargs grep "some string"

Find and replace string in specific files recursive from local path
find . -type f -name '*.html' -printf '%h' -exec sed -i 's/string/replace_string/' {} \;

List all subdirs, relative foldername
find . -type d -print

List only subdirectories containing certain files
find . -type f -name '*.html' -printf '%h' | uniq

List all of only one file type, with relative path to current folder
find . -type f -name '*.html' -print

find duplicate files
find -not -empty -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate

Compare two folder-trees file contents
diff -a -q -r dir1 dir2

Compare two folder-trees only file names
diff <(cd dir1 && find | sort) <(cd dir2 && find | sort)

Delete everything at local path
rm -r .

force remove file
rm -f file

Change the permissions of file to octal; 4 read, 2 write, 1 execute
All files in current dir: read, write, execute for all
chmod 777 -R .
All files in current dir: rwx for owner, rx for group and world
chmod 755 -R .

Change Owner:Group for everything in folder
chown -R user:users ./folder