Comments (14)
Robocopy only offers those 2 options
/mov | Moves files, and deletes them from the source after they are copied. |
---|---|
/move | Moves files and directories, and deletes them from the source after they are copied. |
If your req not fall into these categories, you can add your custom scripts in Postcommands
from choeazycopy.
@Cinchoo : What commands would I use to prevent the deletion of the main folder but delete everything else inside that folder?
from choeazycopy.
you can use
del /S C:\Path\to\directory\*
from choeazycopy.
@Cinchoo : Is there a way I can automate the directory instead of having to put it in every time I want to keep the main folder from being deleted? Thanks!
from choeazycopy.
Afraid not.
from choeazycopy.
@Cinchoo : is there a way to pass parameters to your program with another program?
from choeazycopy.
No. Can u brief how are you planning automate?
from choeazycopy.
Well I was just gonna pass the line you showed me above into EazyCopy with my own program in order to automate which main directory needs to be preserved.. But truth be told, this would be much easier if I could just automate choosing whether or not EazyCopy deletes my main directory along WITH all folders & files contained within it.
from choeazycopy.
Well, in this case you can run the delete folder command from your program right after robocopy completes its operation.
from choeazycopy.
Who else thinks this should be a feature? <3 I LOVE this program & use it EVERY day & only wish to see it grow!
from choeazycopy.
Hi, put enhancement to the tool to pre and post commands parametrizable with src / dest directories using {{SRC_DIR}} / {{DEST_DIR}} tokens respectively. Let me know this helps.
from choeazycopy.
@Cinchoo How do I activate this option? Thank you!
from choeazycopy.
this is how you can use these tokens in pre/post commands
del /S {{SRC_DIR}}/*
from choeazycopy.
Here is the screenshot how to do it
from choeazycopy.
Related Issues (20)
- Can ChoEazyCopy connect to a remote instance of robocopy ? HOT 1
- FR: Dark Theme HOT 1
- Output pane does not follow the progress
- Speed up the start and exit
- /MT:0 Should be Default otherwise Robocopy.exe Logging fails HOT 1
- Nice project HOT 1
- Please add total transferred to / from each location! HOT 2
- Possible licence issue with `Xceed.Wpf.Toolkit` HOT 2
- Please allow save file to save whether or not "Show Line Numbers" and "Show Line Progress" are checked? HOT 2
- no way to exculde systerm volume and recycle bin so unable to robo copy a whole drive HOT 2
- Can you provide multiple languages?
- Change the open folder window to this please
- Directory is mirrored correctly but *.txt; *.pdf, and *.rtf files are empty HOT 2
- Application Error
- Unable to run exe file HOT 1
- Explorer windows
- Feature Request: Multi-Language Support HOT 2
- Help button does not work
- Hope to support Chinese HOT 2
- A suggestion.
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 choeazycopy.