Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureRequest: rename when using input files #367

Open
renich opened this issue Dec 16, 2024 · 0 comments
Open

FeatureRequest: rename when using input files #367

renich opened this issue Dec 16, 2024 · 0 comments

Comments

@renich
Copy link

renich commented Dec 16, 2024

Hello,

In my case, I am downloading a bunch of GNU/Linux ISO files. Some of them are named according to their release date. For example, Gentoo's LiveGUI ISO: "livegui-amd64-20241215T164830Z.iso".

So, I would like to have a way to rename files given an input file.

Maybe the input file could take a -O, as in:

https://boot.netboot.xyz/ipxe/netboot.xyz.iso
https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/rhcos-live.x86_64.iso
-O CentOS-Stream-9-latest-x86_64-boot.iso https://mirrors.centos.org/mirrorlist?path=/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso&redirect=1&protocol=https
-O CentOS-Stream-10-latest-x86_64-boot.iso https://mirrors.centos.org/mirrorlist?path=/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-boot.iso&redirect=1&protocol=https
https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso
-O admincd-amd64-latest.iso https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/admincd-amd64-20241215T164830Z.iso
-O install-amd64-minimal-latest.iso https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/install-amd64-minimal-20241215T164830Z.iso
-O livegui-amd64-latest.iso https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/livegui-amd64-20241215T164830Z.iso

Or, maybe just: <url> <optional-name> in a list, such as:

https://boot.netboot.xyz/ipxe/netboot.xyz.iso
https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/rhcos-live.x86_64.iso
https://mirrors.centos.org/mirrorlist?path=/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso&redirect=1&protocol=https CentOS-Stream-9-latest-x86_64-boot.iso
https://mirrors.centos.org/mirrorlist?path=/10-stream/BaseOS/x86_64/iso/CentOS-Stream-10-latest-x86_64-boot.iso&redirect=1&protocol=https CentOS-Stream-10-latest-x86_64-boot.iso 
https://geo.mirror.pkgbuild.com/iso/latest/archlinux-x86_64.iso
https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/admincd-amd64-20241215T164830Z.iso admincd-amd64-latest.iso 
https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/install-amd64-minimal-20241215T164830Z.iso install-amd64-minimal-latest.iso 
https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20241215T164830Z/livegui-amd64-20241215T164830Z.iso livegui-amd64-latest.iso 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant