Convert files to data: URLs
.forgejo/workflows | ||
src | ||
.drone.yml | ||
.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
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)
dataurlify folder -r
The data urls will be stored as [name].data.txt
inside that directory unless -o is specified.