lammps-graphene/scripts/strain/create_animation_from_all_dumps.sh

13 lines
204 B
Bash
Raw Permalink Normal View History

2020-12-23 22:12:07 +00:00
#!/bin/bash
mkdir -p resolute_animation
dumps=$(find . -name '*.dump'|sed 's/.dump$//'|sort -n|sed 's/$/.dump/'|less)
step=1
for dump in $dumps; do
cp $dump resolute_animation/$((step++)).dump
done