Finding all files containing a text string on Linux or Mac
I need to find some string in all folders. Note: -r is recursive -n is line number -w stands match the whole word
Finding all files containing a text string on Linux or Mac Read More »
I need to find some string in all folders. Note: -r is recursive -n is line number -w stands match the whole word
Finding all files containing a text string on Linux or Mac Read More »
I want to mass rename hundred of filenames like filename 001.jpg to filename-001.jpg … … … filename 099.jpg to filename-099.jpg I use this command to rename all in few seconds in my MacBook Pro. I think it is fine to run in any linux.
Fastest way to rename filenames with space to dash in linux Read More »
The easiest way to show the file size in Terminal in Mac or Linux.
Show Image Size in Terminal or Shell Read More »
You received error from the sed command in Mac, because the argument in mac is different. If you type in Mac terminal, you may receive error like this The first argument should be the extension of the backup file. The correct way is or If you don’t want any backup file, you can do like
command c expects followed by text error in Mac Read More »