Replies: 1 comment
-
|
Duplicate of #1974 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
It would be very useful to support creating multiple files in a single command, using a syntax like:
Or with spaces:
These would result in three separate files being created in the current directory.
Technical Rationale:
Currently, Yazi correctly handles filenames with multiple dots (e.g.,
file.name.ext) as a single file, which is expected behavior. However, there's no native way to create several separate files at once using a concise syntax.Since filenames rarely include commas or unescaped spaces, a separator like a comma (
,) or a space () could be used to determine when a new file name starts. This could be parsed easily using a regular expression to split the input into distinct file names.Expected Usage Example:
Pros:
Cons:
Optional Enhancement:
Support quoted filenames to allow special characters, e.g.:
Beta Was this translation helpful? Give feedback.
All reactions