check for existence of file

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

 



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


Jude <jdashiel at panix dot com>
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)

.

_______________________________________________
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]