Git Product home page Git Product logo

rcwm's Introduction

Visitor Count

rcwm's People

Contributors

gchuf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rcwm's Issues

Get the list of files and folders that were copied from a .NET Framework

Is your feature request related to a problem? Please describe.
After reviewing the source code of rcp.ps1, I suppose the script stores a list of folders in the registry key HKCU:\RCWM and then for each folder, the script uses robocopy to copy or move it to the specified destination. However, with thousands of folders and large files to copy, the amount of registry value generated in HKCU:\RCWM will be enormous, negatively impacting read/write speed of Windows Registry.

Describe the solution you'd like
I'm thinking of using System.Windows.Forms.Clipboard to get list of folders and files from users pressing Ctrl+C or click Copy on right click menu, after that you can use Robocopy loop to go through the list. What do you think ?

Add-Type -AssemblyName System.Windows.Forms
$selectedItems = [System.Windows.Forms.Clipboard]::GetFileDropList()

foreach ($item in $selectedItems) { something ... }

Additional context

Option to limit copying speed in RoboCopy

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.

TODO for v2.0

fix robocopy/move not copying empty subfolders
start all .exe files once, else first startup can take a while

add "shutdown in x seconds", icon -29

killall needs admin for taskmanager and admin windows

rcp.exe (done with ps2exe original) and rcp.lnk detected as trojans in trendmicro security

Fix leading "0" problem in registry for creating links

Check what happens if reg key doesnt exist
restart needed after win11 context menu fix
add check previous rcwm version installed in install.cmd

rmdir with unc paths WORKS

robocopy: access denied when nonadmin copying files
access denied for "rm", but shift+delete works normally

rmdir fails when folder is open in another program

some "links" require additional permission

  • CHECK keep windows open on errors (cantdelete 'test ' folder for example)
  • minify rcp.ps1 before putting to exe?
  • ask to enable running scripts on this system (no bypass)
  • crlf encoding for win7 notepad
  • check powershell profile - like UNC paths opening for profile only when executing .exe files i think [work pc]
  • -noprofile for paste, test -NonInteractive for exe

prepend all reg keys with rcwm, to find them and uninstall easier?

allfuture/default option:
install in hkcr, but make reg keys for all users
how to make new keys after a user is made?

UNC Paths are an issue

Excellent suite of tools - very very helpful for my general day to day.

Query though - When moving a local to UNC or UNC to UNC the command window states that it doesn not support UNC paths. I have my own Robocopy script that i have been using for years to move from local to UNC or UNC to UNC depending on use case. I cannot see any material difference in how the Robopcopy command functions but it always moves the folder to C:\Windows$folder.

My own script is this:

@echo OFF
:: Source input
SET /p "src=Please enter source: "
SET "casep=%SRC%"

:: SET "casef=%casep:~0,-1%" (IF ENDS IN )
for %%f in (%casep%) do set myfolder=%%~nxf

:: Destination input
SET /p dest=Please enter destination:
SET dests=%dest:"=%
SET "dests=%dests%%myfolder%"
MKDIR "%dests%"

:: LOG Directory
ECHO LOG will go to root of destination.
ECHO Press any key to continue
ECHO ==========================
pause
:: MOVE Command
c:\windows\system32\robocopy.exe %src% "%dests%" /MOVE /E /MT:8 /R:1 /W:5 /COPY:da /TEE /NP /LOG:"%dests%\MOVELog.log"

:: Check source folder is empty before removing it
DIR /b /a %SRC% | >nul findstr "^" && (echo Files and/or Folders exist) || (echo No File or Folder found)
pause

DLL's

I like that I can see the ps1 files, and the batch files etc. What I can't see is the source for the icon dll that is very often ran, or that the dll was created with the source provided.

From a security perspective that makes me much more cautious that the reg files, cmd files or ps1 files.

Just my opinion.
Cheers
Simon

check copyall flag for copying attributes

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is, and how to reproduce it.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

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.