⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
rbd
All Projects
Ceph
»
rbd
Overview
Activity
Roadmap
Issues
Spent time
Download (274 Bytes)
Bug #22660
» rbd_rename_program2.sh
Rename script2 -
Debashis Mondal
, 01/11/2018 08:25 AM
#!/bin/sh
imagename
=
"Newimage"
i
=
1
while
[
$i
-lt
100000
]
do
output
=
"
$(
rbd
ls
$1
)
"
time_in_milisec
=
"
$(
date
+
"%T.%6N"
)
"
rbd rename
$1
/
$output
$1
/
$imagename$i
echo
"
$time_in_milisec
"
"
$output
"
"
$imagename$i
"
>>
rbd_rename_concurrency.txt
i
=
`
expr
$i
+ 1
`
done
~
« Previous
1
2
3
Next »
(2-2/3)
Loading...