Re: check for existence of file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/7/23 22:29, Linux for blind general discussion wrote:
The script c-jenux.sh checks for existence of a specific Jenux iso and
lets the user know if it exists and does not download the file.  I'm
finding this useful for this particular project and I figure others may
find it useful to check for other files as well so I'll post this below.

#!/usr/bin/env bash
# file: c-jenux.sh - check for bad iso
wget --spider -S https://nashcentral.duckdns.org/projects/Jenux-2022.12.04-dual.iso 2>&1|grep -i remote
https://listman.redhat.com/mailman/listinfo/blinux-list


Would be better if you would point to that file being tracked in Git!

--
John Doe

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]