Comments (8)
A long explanation would be necessary, so I made it short: " for all
😭
from zpaqfranz.
Please use " (in particular on linux) and * as wildcard
Multiple -not can be used
from zpaqfranz.
Before I had used:
-not *.7z
and it kept adding the 7z file, but using the " worked perfectly, I think you should document it in the help, including clarifying the use of quotes.
from zpaqfranz.
*NIX AND DOUBLE QUOTES
Please, on non-Windows systems, DO NOT FORGET THE DOUBLE QUOTES,
especially with multipart files.
"test_????.zpaq" is good
test_????.zpaq is BAD
I'll try to write even more clearly 😄
from zpaqfranz.
What do you think about this disclaimer?
Any suggestions?
Too long?
A key note is the use of double quotes, especially on *nix systems,
and even more so when using wildcard characters such as * and ?
Translation
When command-line strings are entered, there are differences between
Windows and *nix.
On the latter, the "explosion" of wildcards normally takes place
BEFORE programs are started.
This happens because the relevant shells (bash, etc.) process parameters
and pass them to the program (zpaqfranz in this case) already expanded.
Enclosing characters in double quotes preserves the literal value of all
characters within the quotes, with the exception of $, `, \
Actually, the situation is much more complex, but I don't want to go
into too much detail.
In Windows, however, the parameters are passed to the program as they are.
Therefore, sometimes, you write on *nix as you would on Windows,
getting different results or even wrong one.
A few examples I hope will better clarify the fundamental importance of
appropriately using the " on *nix
"test_????.zpaq" is good
test_????.zpaq is BAD
"*francia*" is good
*francia* is BAD
This is OK on Windows, but not on Linux
zpaqfranz a z:\test_??? * -only *.cpp
You have to write something like that
zpaqfranz a "/tmp/test_???" /whatever -only "*.cpp"
This is good
zfsadd /tmp/kong.zpaq "tank/d@2021" "--60d"
There is a bit of heuristics inside zpaqfranz to make some commands
run on *nix with the same logic as on Windows but It is partial,
precisely because the parameters arrive "pre-digested" on *nix.
Short version: Luke, in addition to using the Force, uses double quotes!
from zpaqfranz.
Now, after each help, there is a disclaimer
root@aserver:/tmp/kazzo # zpaqfranz h f
zpaqfranz v58.10i-JIT-L,HW SHA1/2,(2023-09-14)
CMD f (fill, or wipe)
+ : Fill (wipe) 99% of free disk space in 500MB chunks
Check if disk-controller-system-RAM-cache-cables are working fine
+ : -verbose Show write speed (useful to check speed consistency)
+ : -force Do NOT delete (after run) the temporary filename. By default free
+ : -zero Zero-fill instead of random. Use to prepare a thin VMDK shrink
+ : -verify For -zero: do a verify.
Examples:
Fill (wipe) almost all free space: f z:\
Fill (wipe) keep temp files: f z:\ -force -verbose
Zero free space (VM shrink): f z:\ -zero
Zero free space (WITH verify): f z:\ -zero -verify
--------------------------------------------------------------------------------------
************ REMEMBER TO USE DOUBLE QUOTES! ************
*** -not *.cpp is bad, -not "*.cpp" is good ***
*** test_???.zpaq is bad, "test_???.zpaq" is good ***
from zpaqfranz.
*NIX AND DOUBLE QUOTES Please, on non-Windows systems, DO NOT FORGET THE DOUBLE QUOTES, especially with multipart files. "test_????.zpaq" is good test_????.zpaq is BAD
I'll try to write even more clearly 😄
I use Windows, I also needed to use "
from zpaqfranz.
Can you please take a look here?
https://github.com/fcorbelli/zpaqfranz/wiki
Do you have any suggestions?
Thank you
from zpaqfranz.
Related Issues (20)
- minor typo HOT 1
- CRC-32 used as undocumented default HOT 10
- New backup command acts weird HOT 1
- What do those numbers mean? HOT 4
- Can I use it to image windows install ? HOT 3
- What causes CRC errors? HOT 12
- error with r mode (robocopy) HOT 27
- how to extract a single file? HOT 35
- Bug: -verify -paranoid -test does not work with zpaqfranz a store.zpaq 'long_path_windows_dir' -longpath HOT 4
- Robocopy command not preserving the timestamps of the copied folders HOT 19
- Issues with multiple-part archives on Linux HOT 5
- [Wiki] Clone fails because invalid chars in titles HOT 8
- WINDOWS/asmc64.exe license HOT 10
- Does Not Compile On PowerPC MacOS HOT 2
- man/zpaqfranz.pod lists GPL3+ HOT 2
- "zpaqfranz autotest" segfaults on i686 platform HOT 14
- Create archives with volumes HOT 10
- Raspberry Pi version HOT 2
- Accelerating backups HOT 18
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 zpaqfranz.