Shell Script 12 5 月, 2021 bryce Variable – filename handling filename=$(basename -- "$fullfile")extension="${filename##*.}"filename="${filename%.*}"