-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathftp_files.sh
76 lines (70 loc) · 2.17 KB
/
ftp_files.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/sh
#
#
##################################################
# Customize this section to meet your needs
##################################################
PROD=GMAK
SPR=${PROD}V03
# Where to put files
NSK_HOST=15.199.36.66
NSK_USER_ID=hpiso1.kannanmj
DEST_SUBVOL=fsdev1.${SPR}
##################################################
# End of customization section
##################################################
# Transfer everything to the submission subvolume
ftp -n -i ${NSK_HOST} <<FTP_EOF
user ${NSK_USER_ID}
quote guardian
verbose
ascii
cd \$${DEST_SUBVOL}
put bldgmak bldgmak,101,14,28
put bldgmake bldgmake,101,14,28
put makein makein,101,14,28
put salloca.c sallocac,101,14,28
put sar.c sarc,101,14,28
put sarscan.c sarscanc,101,14,28
put scommnd.c scommndc,101,14,28
put sdefalt.c sdefaltc,101,14,28
put sdir.c sdirc,101,14,28
put sexpand.c sexpandc,101,14,28
put sfile.c sfilec,101,14,28
put sfnmach.c sfnmachc,101,14,28
put sfunctn.c sfunctnc,101,14,28
put sgetlod.c sgetlodc,101,14,28
put sgetop1.c sgetop1c,101,14,28
put sgetopt.c sgetoptc,101,14,28
put sglob.c sglobc,101,14,28
put sjob.c sjobc,101,14,28
put simplic.c simplicc,101,14,28
put smain.c smainc,101,14,28
put sver.c sverc,101,14,28
put smisc.c smiscc,101,14,28
put sread.c sreadc,101,14,28
put sremake.c sremakec,101,14,28
put sremstb.c sremstbc,101,14,28
put srule.c srulec,101,14,28
put ssignam.c ssignamc,101,14,28
put standem.c standemc,101,14,28
put stanfun.c stanfunc,101,14,28
put svariab.c svariabc,101,14,28
put sverson.c sversonc,101,14,28
put svpath.c svpathc,101,14,28
put commands.h wcommndh,101,14,28
put config.h wconfigh,101,14,28
put dep.h wdeph,101,14,28
put wear.h wearh,101,14,28
put filedef.h wfildefh,101,14,28
put glob/fnmatch.h wfnmachh,101,14,28
put getopt.h wgetopth,101,14,28
put glob/glob.h wglobh,101,14,28
put job.h wjobh,101,14,28
put makeint.h wmakeh,101,14,28
put rule.h wruleh,101,14,28
put signame.h wsignamh,101,14,28
put variable.h wvariabh,101,14,28
put wxar.h wxarh,101,14,28
bye
FTP_EOF