Convert files to data: URLs
.forgejo/workflows | ||
.github/workflows | ||
locales | ||
pkg | ||
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
dataurlify
Convert files to data: URLs
Examples
It's as easy as
dataurlify file.txt
The data url will be stored in file.txt.data.txt
To convert multiple files
dataurlify image1.png image2.jpg
The data urls will be stored in image1.png.data.txt
and image2.jpg.data.txt
To bulk convert files
Note
You may need a proper shell (like
bash
) for bulk conversion to properly work
dataurlify *.png
The data urls will be stored in *.png.data.txt
where *.png is all the png files the shell can find in the directory.
To bulk convert files (with subfolder scanning)
Not implemented at the moment, might implement the -r
argument