使用道具 举报
#!/bin/sh #script name: mvfile.sh #more file to one dir if [[ $# = 2 && -d $2 ]];then mv $1 $2 else echo "usage './scriptname YOURFILE(DIR) TARGETDIR'" fi
$./mvfile.sh /home/wr/lyp2/1 /home/wr/lyp1
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
GMT+8, 2025-2-14 01:20 , Processed in 0.026703 second(s), 16 queries .
© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.