Search Results

Search: Posts Made By: Eman_in_forum
4,581
Posted By RudiC
Try like this; it is even shorter but relies...
Try like this; it is even shorter but relies heavily on your filename's structure not to change:
printf file_%0.8d.csv $(( 10#$(ls file*.csv|tail -1|cut -c15-22) + 1 ))This works for a four char...
Showing results 1 to 1 of 1

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