FragCheck and Defrag Tools

Various Gnome Stuff

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
These are simple scripts to check for fragmentation & defragmentation, if desired. There have been several folks interested in something simple, so here it is.

Works great for curiosity and checking external drives, of any format. Personally, FragCheck is nice when wanting to know how fragmented a flash drive is, or a portable hard drive in NTFS or FAT32. Just something I wish was basic in a Linux distro. Of course, why bother since for normal use, (not folks with overly copying/pasting and downloading skills ), Linux never needs to be defragged.

WARNING: Use Defrag at your own risk. I've never had issues, but of course, being Linux, you really don't ever need to use it. My understanding of how it works is it copies everything inside the same folder as a way to 'defrag' it. Not sure if it works if you don't have at least half of your drive space free. But I could be wrong. FragCheck I use often and love it. See screenshot for view of a few readouts.

I did not make these. Credit goes to Con Kolivas for the 'Defrag.sh' script. I do not know who is to credit for the 'FragCheck.sh' script as there is no name inside the script, and I can't remember where I got it.


To Use:

- Either place the script inside a particular folder and run it in the terminal, or direct the script to the folder desired, like this:

$ "/Path of script.sh" "/Path to directory desired"

- I prefer using aliases, and adding the scripts to my nautilus-scripts folder, by putting in '~/.gnome2/nautilus-scripts', and adding a few simple alias commands inside my '~/.bashrc' file:

alias defrag='sudo ./.gnome2/nautilus-scripts/"File System Management"/Defrag.sh'
alias defrag-system='sudo ./.gnome2/nautilus-scripts/"File System Management"/Defrag.sh /'
alias defrag-home='sudo ./.gnome2/nautilus-scripts/"File System Management"/Defrag.sh ~'
alias defrag-root='sudo ./.gnome2/nautilus-scripts/"File System Management"/Defrag.sh /root'
alias fragcheck='sudo ./.gnome2/nautilus-scripts/"File System Management"/FragCheck.pl'
alias fragcheck-system='sudo ./.gnome2/nautilus-scripts/"File System Management"/FragCheck.pl /'
alias fragcheck-home='sudo ./.gnome2/nautilus-scripts/"File System Management"/FragCheck.pl ~'
alias fragcheck-root='sudo ./.gnome2/nautilus-scripts/"File System Management"/FragCheck.pl /root'

Ratings & Comments

0 Comments

Be the first to comment
Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various Gnome Stuff from inameiname:

The Ultimate Bashrc File
inameiname
last update date: 7 years ago

Score 8.0

The Ultimate List of Radio Stations
inameiname
last update date: 11 years ago

Score 6.5

gtk-jzintv (Intellivision Emulator)
inameiname
last update date: 14 years ago

Score 5.0

The Ultimate Templates Pack
inameiname
last update date: 15 years ago

Score 5.7

Other Various Gnome Stuff:

Karuna OS Logo
JCL
last update date: 18 years ago

Score 5.0

Ubuntu for Sony Ericsson z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Studio for SE z520i
microscopuce
last update date: 18 years ago

Score 5.0

Ubuntu Humunity
noobilus
last update date: 14 years ago

Score 6.1

VDesk - Visual Desktop
AnthonyAMC
last update date: 13 years ago

Score 5.5

Youtube search function for gnome shell
rivetrik
last update date: 13 years ago

Score 5.0