mirror of
https://asciireactor.com/otho/lammps-graphene.git
synced 2024-11-22 05:25:06 +00:00
13 lines
216 B
Bash
Executable File
13 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p animation
|
|
|
|
dirs=$(find . -name "min.*"|sort)
|
|
|
|
step=1
|
|
for dir in $dirs; do
|
|
final_dump_file=$(find $dir -name '*.dump'|sort -n -r|sed -n 1p)
|
|
cp $final_dump_file animation/$((step++)).dump
|
|
done
|
|
|