convertall

来自「Dolfin provide a high-performance linear」· 代码 · 共 27 行

TXT
27
字号
#!/bin/sh## Copyright (C) 2006 Anders Logg# Licensed under the GNU LGPL Version 2.1## Convert all DOLFIN XML files in a directory from# the old DOLFIN XML format to the new format# Unpack all .xml.gz files if anyfor f in *.xml.gz; do	echo "Unpacking $f..."	gunzip $fdone# Convert all .xml filesfor f in *.xml; do	echo "Converting $f..."	mv $f $f.old	dolfin-convert -i xml-old $f.old $fdone# Pack all .xml filesfor f in *.xml; do	echo "Packing $f..."	gzip $fdone

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?