mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-05-10 10:44:59 -04:00
add things resources from the last 5 years over machines
This commit is contained in:
parent
ac9c955e0b
commit
b0a4e417ee
77 changed files with 2327 additions and 84 deletions
21
awk/file_directory_example.awk
Normal file
21
awk/file_directory_example.awk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# awk -f FILEAWK FILELIST
|
||||
|
||||
BEGIN{
|
||||
}
|
||||
|
||||
#
|
||||
# main logic is here
|
||||
#
|
||||
{
|
||||
sfile = $1
|
||||
dfile = $2
|
||||
cpcmd = "cp " $1 " " $2
|
||||
printf "Coping %s to %s\n",sfile,dfile
|
||||
system(cpcmd)
|
||||
}
|
||||
|
||||
#
|
||||
# End action, if any, e.g. clean ups
|
||||
#
|
||||
END{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue