-
-
Notifications
You must be signed in to change notification settings - Fork 133
Description
New Standard Cleanup: Check File Type
This cleanup uses the file
command to find out more information about a file. It formats the output a little to make it better readable.
Usage
Click on a file in the tree or in the treemap, then use the context menu (right mouse button) or the Clean Up menu and then select Check File Type.
Or simply press Ctrl-Y.
How to Get It
If you never used QDirStat, you will get it automatically starting with 3b6eb69 (V 1.5.90 or later).
If you did use it before, but you never changed any of the cleanups anyway, simply remove your cleanup config file and start QDirStat:
rm ~/.config/QDirStat/QDirStat-cleanup.conf
qdirstat
If you did change your cleanups and you want to keep those changes, add the following lines to your ~/.config/QDirStat/QDirStat-cleanup.conf
:
[Cleanup_99]
Active=true
AskForConfirmation=false
Command="file %n | sed -e 's/[:,] /\\n /g'"
Hotkey=Ctrl+Y
OutputWindowAutoClose=false
OutputWindowPolicy=ShowAlways
OutputWindowTimeout=500
Recurse=false
RefreshPolicy=NoRefresh
Title=Check File T&ype
WorksForDir=false
WorksForDotEntry=false
WorksForFile=true
You can also do that if you'd like to have it on any older version of QDirStat.
Screenshots
QDirStat executable
.o (object) file
MP3
Yes, it's perfectly legal; I bought it. The band deserves it.
JPG photo