Search Results

Search: Posts Made By: amadain
26,494
Posted By amadain
Thanks I also just found the -w option for seq...
Thanks
I also just found the -w option for seq

for x in $(seq -w 00 10); do touch file_$x; done
m@pyhead:~$ ls file*
file_02 file_05 file_08 file_10
file_00 file_03 file_06 file_09...
26,494
Posted By amadain
help: single digits inflated to 2 digits
Hi Folks
Probably an easy one here but how do I get a sequence to get used as mentioned. For example in the following I want to automatically create files that have a 2 digit number at the end of...
Showing results 1 to 2 of 2

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