GChuf / RCWM

Right Click Windows Magic is an open-source set of right-click (context) menu tools for admins, power users and other magic beings. Batch&Powershell.
GNU General Public License v3.0
102 stars 9 forks source link

Option to limit copying speed in RoboCopy #23

Closed shelltar closed 1 year ago

shelltar commented 1 year ago

Hi there, I am a user of RCWM and I appreciate your work on this tool. I have a suggestion for a new feature that would make it more useful for me and maybe others.

I use rsync to mount Google Drive as a network disk, and I often use RCWM to copy files to and from it. However, I have a problem with the network bandwidth usage. RoboCopy always uses 100% of my network speed, which makes my internet connection very slow for other tasks. This is not convenient for me, especially when I need to copy large files or folders.

I would like to have an option to limit the copying speed in RoboCopy, so that I can balance the network usage between copying and other activities. I know that RoboCopy has a parameter called /IPG that can do this. For example, if I want to limit the bandwidth usage to 1 Mbps (1000 Kbps), I can use /IPG:100.

It would be great if you could add a feature to RCWM that allows me to set the /IPG parameter for RoboCopy in the context menu. This way, I can easily choose the copying speed that suits my needs.

Thank you for your time and attention. I hope you will consider this feature request and let me know what you think.

shelltar commented 1 year ago

Never mind, I added --bwlimit to the rclone service, and it works just fine.

GChuf commented 1 year ago

@V3semir thanks for opening this. I was thinking about adding the option to add/change robocopy flags to the user, but I gotta figure out how to do it. It's definitely on the to-do list. If you got any other suggestions or comments, let me know!