Improvements to the File Manager
-
@thetomester13 I think that both of those are reasonable requests and because the file manager is so new, the feedback is great. I would definitely find the things you mentioned useful but never would have thought of them.
-
It looks like all directories in the File Manager are listed as '4 kB' under size. Which might be true for the folder itself, but it doesn't factor in the files within the folder. Ideally, I'd expect a folder size to display the size of all of the contents within it.
@thetomester13 It'd be awesome if they can somehow get around the 4 Kb thing so we know what the total of the folder is, but just for reference (you may already know this) this is how Linux works too when you run a command like "ls -alh", so at least the behaviour is consistent with the file system commands. Though I personally wish neither of them would work that way, haha, and work the way you suggested where it totals everything up.
-
@d19dotca I actually didn't know that (Mac user myself, sorry : ) but makes sense as to why it works as it does now. There is though the
du
command that might be able to help with this functionality? Just a thought! -
du -sh
-
I think a File Manager is hugely important so I'm v happy it exists now. Part of my pipeline is to quickly set up a staging site in the root of my Wordpress Multisite (I have a plugin that automates this). And then I test everything and I'm good to do.
But when I go to delete the staging folder, it takes like an hour to finish deleting via SFTP. And via SSH / File Manager running on the same hardware, it takes seconds.
I've never understood why we never came out with anything better than SFTP for file management on servers.
-
I think the whole folder size is just causing unnecessary disk I/O for the server, for only little benefit. I would argue that in 95% the accumulated folder size is not relevant and thus uselessly strain the server. If for some reason it is important though, the webterminal still offers that information using the mentioned
du
command. -
@thetomester13 said in Improvements to the File Manager:
@nebulon I see that. Maybe (eventually) there could be an option in the dropdown to 'Get directory size' so it'll only calculate when explicitly request. Again, this is obviously just a nice-to-have.
@nebulon This is the only use case I see and most file systems, on user request, is when they tally the file sizes. Not a bad idea to hover over a "4KB" / "--KB" in blue writing and then it changes to "Calculate" which can just run du on-demand inside the app. I second this request because I've had to do this manually and I think it's reasonable to not have to do it via command line only.
-
-
@girish Great! @jdaviescoates
-
-