ã®ããã«å®è¡ãã¦ãããã-xãªãã·ã§ã³ã«ãããã³ãã³ãã®å®è¡ç¶æ³ãæ¨æºã¨ã©ã¼åºåã«åºåãããã ä¾ã¨ãã¦ã以ä¸ã®ã·ã§ã«ã¹ã¯ãªããï¼backup.shï¼ãä½æããã #!/bin/sh TIME=`date +%y%m%d` while [ $# -gt 0 ] do cp -r $1 $1.$TIME shift done$ /bin/sh -x backup.sh gterm-error01.png sample.pdf ++ date +%y%m%d + TIME=050824 + '[' 2 -gt 0 ']' + cp -r gterm-error01.png gterm-error01.png.050824 + shift + '[' 1 -gt 0 ']' + cp -r sample.pdf sample.pdf.050824 + shift + '[' 0 -gt 0 ']
{{#tags}}- {{label}}
{{/tags}}