備份檔案的script - Linux
By Cara 
at 2012-12-03T13:01
at 2012-12-03T13:01
Table of Contents
若要用 script 來做,我可能會這麼寫: 
#!/bin/bash
a="sourcefiles.list"
b="targetdir"
while read file; do
cp -a "$file" "$b"
done <$a
### end.of.script ###
 
--
    #!/bin/bash
a="sourcefiles.list"
b="targetdir"
while read file; do
cp -a "$file" "$b"
done <$a
### end.of.script ###
--
Tags:
        Linux
        
All Comments
By Cara 
at 2012-12-03T23:32
at 2012-12-03T23:32
Related Posts
備份檔案的script
By Dinah 
at 2012-12-03T10:45
at 2012-12-03T10:45
cygwin連ssh的自動斷線時間?
By Tracy 
at 2012-12-02T18:34
at 2012-12-02T18:34
Linux mint 14 released
By Sandy 
at 2012-12-01T16:58
at 2012-12-01T16:58
備份檔案的script
By Hazel 
at 2012-12-01T12:11
at 2012-12-01T12:11
HDMI無法匹配液晶電視
By Christine 
at 2012-12-01T02:54
at 2012-12-01T02:54