Tag: bash
How to watch file count in a directory (Linux/macOS)?
If you want to monitor file count in some directory simply use this: You can also mask specific files using asterisk char: If you get Argument list too long error, please change command syntax to this:
New selfpacker.sh version
Click read more to review changes and source.
How to remove non ASCII chars from filenames in current directory?
That’s easy: find ./ -depth -exec rename -v ‘s/[^[:ascii:]]/_/g’ {} \; | cat -v
How to get rid of :Zone.Identifier files
Everyone who uses Windows inside Virtualbox on Linux machine (and shares host folders) knows this problem.
How to view two logs in one window?
In this example I will show you how to view Yii framework based app log and MySQl queries, both in realtime.