looking to create a script that...
I need a script that will sync two directories.
Directory1: file1 dir1 dir1: file2 Directory2: file3 After running the sync script the two directories would look like: Directory1: file1 file3 dir1 dir1: file2 Directory2: file1 file3 dir1 dir1: file2 If this is an easy script to write could someone write one... I know some bash but I'm struggling to write this script bc I don't know enough. |
Code:
|
Thank you GrapefruitGirl,
there was one minor problem, here's a working version: Code:
#!/bin/bash |
Hey cool :) I'm not great with bash either; can ALWAYS learn something new. Thanks!
|
I'm not sure why this script doesn't work for an nfs mounted folder. Could someone explain/offer a solution?
|
Are you sure you have permission to write to the nfs mounted folder?
|
All times are GMT -5. The time now is 05:43 PM. |