t

pingu-venom·2023년 1월 9일
0

35분 48초

12분 39초
11분 55초

1시간 10분 25초
2분 40초

13분 18초
10분 17초

8분 26초
5분

54분 18초

rename -n 's/^(\d+)/sprintf "%06d", $1-22776/e' *.jpg

falldown: 126,761 + 4,800 = 131,561
opposite: 23,922 + 18,506 = 42,428
path: 15,166 + 9,005 = 24,171


congestion: 64,398
two: 97,658
dash: 22,776 + 21,467 = 44,243 (유실)

sudo touch {022777..033980}.jpg

sudo touch {000001..010000}.txt &&
sudo touch {010001..020000}.txt &&
sudo touch {020001..024171}.txt &&

getconf ARG_MAX
2097152

import glob, shutil
cnt = 15167

for i in glob.glob('*.jpg'):
... shutil.move(i, f'{cnt:06d}.jpg')
... cnt += 1

sudo find . -name '*.jpg' -exec mv {} ../ \;

ls -l | grep ^- | wc -l

0개의 댓글