Giter Club home page Giter Club logo

Comments (35)

kapitainsky avatar kapitainsky commented on July 23, 2024 3

Finally I return to this issue. I am going to rewrite mounting code. These are things I plan to include:

Anything else you can think of?

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024 3

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024 1

b) would be nice to get output as rclone tree does
https://rclone.org/commands/rclone_tree/

For tree I am thinking about adding it the same way like size option but only to display directories structure: rclone tree -d

What do you think?

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024 1

It would work the same way as now Download/Upload tasks. You save it as RcloneBrowser task.
So you could edit/run/delete it

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024 1

No custom icons. Mounted remote will be represented by whatever standard "mount" icon your OS is using. Customizing icons is just make it pretty story - unfortunately it would be different work on every OS - too much to do.

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024 1

Oops, my bad phrasing - I wasn't talking about Explorer, I was referring to within RCloneBrowser - when I open a remote and right-click on it, the list of options is:

This is remote content view. Why it should have unmount option? Unmount is not associated with specific remote folder but with mount point - in case of windows with drive letter you mounted resource to.

You can have many mount points pointing to the same resource.

To unmount drive in RB go to jobs and stop mount job.

from rclonebrowser.

caspertone2003 avatar caspertone2003 commented on July 23, 2024 1

Comments left in the other thread - #93

You wrote some comments above that you were not seen the use case of mount.
Well, for me it is very useful. For renaming, moving and editing -all manually - many small files.
So, I use all the funtionalities of explorer or copycats alternatives.

;-)

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

from rclonebrowser.

caspertone2003 avatar caspertone2003 commented on July 23, 2024

I am struggling with mounts in windows for months...
Even tried with MegaCMD but it fails miserably with big files transfers... And I find their sw buggy and stutters from time to time such as

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

regarding mounts - this is big story and there is no one solution good for everyone especially that different options might work different for different remotes. What I can do here is to provide even more flexibility and introduce mounting scripts e.g. you could run your cache seeding script after successful mount.

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

also I don't fully understand why to rely on mounts... It is useful to look around and do some small tasks but will never work for bigger operations e.g. trying to sync 1 million files over mount is designed to fail.

They will never work perfectly. It is just very inefficient way of working with remote object storage in name of convenience. Risk of data being lost or corruption is huge in my opinion. When you use file manager e.g. explorer in windows to perform operations on "fake" filesystem you are using wrong tools. File managers is not aware of real nature of such mounted filesystem and treats it as "local" one. Fuse software tries hard to simulate local filesystem behaviour but it is only virtualization of some kind.

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

for mounting remotes you could maybe have a look at these solutions:

https://github.com/dimitrov-adrian/RcloneTray
https://mountainduck.io/

I would prefer Rclone Browser to be a browser:) And hopefully good one. Mounting option is there because it was originally implemented and I did not want to provide less features than original version. Legacy is legacy.

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

I will create wiki page regarding mounts as things like you found for example (https://forum.rclone.org/t/how-to-get-full-directory-tree-cached-on-first-mount/12535) are definitely worth to share

from rclonebrowser.

dia3olik avatar dia3olik commented on July 23, 2024

Yeah it would be great to have a quick glimpse of the dir structure

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

Tree command has been added in the latest release

from rclonebrowser.

caspertone2003 avatar caspertone2003 commented on July 23, 2024

@kapitainsky

Hi, long time not here for different reasons - not RcloneBrowser related.

Thanks for 1.8.0, took some time, come with lots of enhancements.

In relation to mount, I see what you mean. But it is convenient as hell ... While feels like a treason to rclone, I am currently using MegaCMD for mounting mega in windows with more or less acceptable results. It is possible to work with mounts using winfsp and rclone using CMD (no need for RCloneTray) but has glitches, and only gets well using dos based explorers (norton commander alike) - not found anyone working with mouse and not in a mad manner.
By the way, I imagine you are aware that now rclone is able to handle (safely) unmounts in windows!

DirTree is interesting and useful. I wish not to sound ungrateful... Helps to navigate... I would love to see the main pane of the remote showing the tree, I mean, when one connects to the remote, having all tree displayed and not having to click and wait, and go level by level down of the tree... So that I would be able to directly click in a deep 4 folder and see its contents... perhaps for a future enrichment?

Thanks for all your excellent work with RB!

CT

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

By the way, I imagine you are aware that now rclone is able to handle (safely) unmounts in windows!

It is supported in RcloneBrowser since version 1.6.0 and actually rclone implemented it because of our requirement - rclone/rclone#3575

DirTree is interesting and useful. I wish not to sound ungrateful... Helps to navigate... I would love to see the main pane of the remote showing the tree, I mean, when one connects to the remote, having all tree displayed and not having to click and wait, and go level by level down of the tree... So that I would be able to directly click in a deep 4 folder and see its contents... perhaps for a future enrichment?

I totally agree with your comment on browsing experience. I like the idea with navigable remote tree. Definitely something I would like to see implemented.

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

I assume the option to "save Mount as a task" will include creation and removal of said task as well? (e.g. otherwise users would have to go into Services.msc or something to delete the task)

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

I will not do any OS specific services changes. Idea is you create your Mount Tasks - and if you mark them as "auto start" every time you start RB they will run - so all your mounts will be mounted. Then you can close RB to system tray icon (this is already implemented).

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

That's perfect!

I had forgotten RCloneBrowser's wide OS support, and mistakenly assumed that saving mounts as "tasks" was a reference to Windows background services.

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

Wondering, is it possible for mounted drives to have custom icons? I don't know if it's a limitation of RClone, or my Windows 10 system, or what, but some current mounts have a "blank file" icon.

Apologies if this is beyond the scope of this update

EDIT: e.g. OneDrive Enterprise has a standard drive icon, but Mega.nz has a blank file icon

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

Just noticed that I can't find an un-mount option in the context menu of v1.8.0 - not sure if I've missed something, otherwise could I feature-request it for the update?

  • Un-mount remote command from context menu

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

Just noticed that I can't find an un-mount option in the context menu of v1.8.0 - not sure if I've missed something, otherwise could I feature-request it for the update?

* Un-mount remote command from context menu

it is rclone limitation not rclone browser. you might request it from them.
Rclone browser simply runs:

rclone mount remote: Z:

what is happening after - icon, context menu etc. is out of browser scope

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

Fair enough; will do!

EDIT: in #13 it sounds like unmount was already implemented? Here it sounds like a Ctrl+C or hard kill command is handled is handled effectively by RClone, and this page suggests that failsafes are built in: hard unmount fails if the mount is busy.

EDIT2: I just found this. Looks like you've already considered it. My bad.

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

Fair enough; will do!

EDIT: in #13 it sounds like unmount was already implemented? Here it sounds like a Ctrl+C or hard kill command is handled is handled effectively by RClone, and this page suggests that failsafes are built in: hard unmount fails if the mount is busy.

EDIT2: I just found this. Looks like you've already considered it. My bad.

Unmount from within RB - you are asking for right click context menu option in explorer.

At the moment in Windows rclone mounted drive does not have it:

RBScreenshot 2020-03-12 at 13 32 08

when for example mounted network drives have "Disconnect" option:

Screenshot 2020-03-12 at 13 31 45

if this is what you are after you have to talk to rclone people.

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

Oops, my bad phrasing - I wasn't talking about Explorer, I was referring to within RCloneBrowser - when I open a remote and right-click on it, the list of options is:

  • Refresh
  • DirTree
  • Export
  • New Folder
  • Rename
  • Move
  • Delete
  • Mount
  • [UnMount is missing]
  • Stream
  • Upload
  • Download
  • Public Link

from rclonebrowser.

Darthagnon avatar Darthagnon commented on July 23, 2024

Apologies; I didn't realise I could stop the mount job; that solves my issue! I've just realised there's an [X] button on jobs (didn't see it before, because black on dark gray background, dim screen).

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

Slowly getting there:

Screenshot 2020-03-13 at 20 38 42

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

beta version is ready for testing:

#93 (comment)

from rclonebrowser.

caspertone2003 avatar caspertone2003 commented on July 23, 2024

RB is but will be more in my paradise ...
I am short of time - to much covid-19 work / will try to test beta over the weekend.
Wish you all are in good health
Thanks
CT

from rclonebrowser.

kapitainsky avatar kapitainsky commented on July 23, 2024

This work is done thanks to covid-19... As I can't do other things. I will call it "pandemic edition". You will see that it is not only mount that changes:)

And please use this thread for any comments you might have re mounting:

#93 (comment)

from rclonebrowser.

caspertone2003 avatar caspertone2003 commented on July 23, 2024

By the way, while dirtree is not my dream, is certainly useful.
Could it be much complex to add an export button, exporting the listing in xml? we could use xml browsers to open the file such as http://www.java2s.com/Code/CSharp/GUI-Windows-Form/ReadanXMLDocumentanddisplaythefileasaTree.htm so that it is possible to collapse branches...
Who knows, there could even be a library that you could use to show/collapse branches...

Thanks again! We users do not stop to ask....
CT

from rclonebrowser.

TimetravelerDD avatar TimetravelerDD commented on July 23, 2024

[...]

  • add task option "run automatically" on Rclone Browser start
    [...]
    Anything else you can think of?

That would make my dream come true!

two more ideas:

  • the option to start RB automatically after windows boots
  • specific mount options for each remote

from rclonebrowser.

vvpnet avatar vvpnet commented on July 23, 2024

Slowly getting there:

Screenshot 2020-03-13 at 20 38 42

Hi. I can't find how to save the mount point automatically? I have version 1.61.1 of Linux.

from rclonebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.