KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've stated before I'm not very good at scripting so what I have below copies files from a share directory to mine where I change their permissions. But then I wanted to remove the first line in each of the CSV files — the headings — and then I wanted to get this to run every hour. cd /users scp dehpc14_Disk_Quota_Report.csv /h/u544835 scp dehpc14_User_Disk_Usage.csv /h/u544835 cd /h/u544835 chmod 755 dehpc14_Disk_Quota_Report.csv chmod 755 dehpc14_User_Disk_Usage.csv * insert delete csv first line here * Can anyone help me with deleting the first line of the CSV file and getting this to run automatically every hour, for example, or direct me to something I might understand to get cracking with it?
Tags (comma-separated)
Save Edits
Cancel