shoorick: (Рыжий)
[personal profile] shoorick
Сваленные в кучу файлы можно сгруппировать по их расширению — например, такой командой:
find . -type f \
| perl -MFile::Copy -MFile::Path -nle \
'/\.([^\.\/]+)$/ and $ext = $1; print $ext; File::Path::make_path "../$ext"; move $_, "../$ext"'

http://shoorick.ru/2015/04/08/bulk-grouping/

Profile

shoorick: (Default)
shoorick

December 2016

S M T W T F S
    1 23
45678910
11121314151617
18 19 2021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 21st, 2026 03:38 am
Powered by Dreamwidth Studios