Search Results

Search: Posts Made By: TheGreatGizmo
5,485
Posted By TheGreatGizmo
Sorry, I'm really new to bash. Could someone...
Sorry, I'm really new to bash. Could someone explain how each part of these code segments work in 3 year old terms? And what the second one does? I like to understand what is going on. These were...
5,485
Posted By TheGreatGizmo
Bash script deleting my files, and editing files in subdirectories question
#!/bin/bash
#
name=$1
type=$2

number=1

for file in ./**
do
if [ $number -lt 10 ]
then
filenumber=00$number
elif [ $number -lt 100 ]
then
filenumber=0$number
fi
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy