Comments (6)
I like this idea. I can't imagine how we can have a visual "graphical" representation of free space in anything except scanning a whole drive. After all, the free space if in the drive, not in a particular folder. Otherwise I'd think we would have a "free space" tile in every folder, having it mostly blot out the contents of smaller folders.
How about if we include it as part of the title line? Right now the title line has a "freed" section which shows you how much space you've freed in this session. Maybe we could add something like:
Free space in /: 50G
to the title? And then have diskonaut detect which drive the folder you're scanning is on and present it? So that (for example) if I'm scanning /home/aram
which is on the /home
partition, I'll see Free space in /home: 50GB
in the title line?
What do you think?
from diskonaut.
@dbramucci - I really like that idea. The realestate in the title is a little scarce though. Would you like to open a separate issue to discuss the details?
from diskonaut.
This may only make sense when scanning whole mounts,
I don't think so. I was just specifically using this tool to free up space on a drive that had run out of space, but I know which folders I can afford to delete stuff from, so I'm not working on the whole drive. Knowing when I have freed enough to make me comfortable, without having to leave the tool and df -h
would be nice.
It's a great idea.
from diskonaut.
That sounds perfect.
from diskonaut.
That's exactly what df
does. If the given path is not a drive/filesystem it tries to figure out what drive/filesystem the file is from. From the manual:
df [-b | -h | -H | -k | -m | -g | -P] [-ailn] [-t] [-T type] [file | filesystem ...]
The df utility displays statistics about the amount of free disk space on the specifiedfilesystem
or on the filesystem of whichfile
is a part.
from diskonaut.
What do you think of an (optional?) ui element indicating where you would be if you deleted a folder?
Something like
Free space in /: 50G --------------------------> 39.5G
<CTRL-D> Desktop/ 10.4G
That way users could avoid mental math and the rounding error from the displayed numbers would matter less.
from diskonaut.
Related Issues (20)
- thread 'main' panicked at 'index out of bounds: the len is 3600 but the index is 3600 HOT 12
- Bug: When deleting files or entering folders with multibyte characters, the app might crash
- Feature: implement `--apparent-size` HOT 1
- Bug: Small files hidden from view HOT 7
- Bug: Runaway memory usage when run on large directories HOT 9
- Option to delete without confiration? HOT 2
- failure="0.1" not available, the current version is 0.1.8 HOT 4
- An option not to cross filesystems HOT 1
- most dirs are missing HOT 4
- Feature Request: Give an option to exclude directory HOT 1
- offer prebuild deb files in a ppa
- Update jwalk dependency to 0.6
- aarch64 and armhf doest pass tests ?
- The folder takes up too much space (7091231513.3G) HOT 2
- Feature Request: Ability to not cross filesystem boundaries. HOT 2
- Graphics break down when running over SSH to Windows HOT 1
- Feature: 'explode' a directory
- Numbers aren't adding up
- Feature: option `--ignore` to skip certain directory/directories HOT 2
- OneDrive on-demand - files showing full size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diskonaut.