Consult everybody bosses how the combination of the above command into a script and set a value when the/app/realanme/realnamepic space available to reach a certain threshold, stop
CodePudding user response:
CD/app/realanme/realnamepic
For JPGname realname in
Do
Echo "JPGname
"Echo the ls JPGname | wc
Cp -r JPGname/app1/realanme/realnamepic
CD/app1/realanme realnamepic
For newJPGname realname in
Do
If newJPGname | wc==JPGname | wc
Then
Echo "file size consistent
"The else
Echo "inconsistent file
"Echo newJPGname
The quit
Fi
The done
# this is my train of thought of trouble bosses look at right