Small improvement to mount_shares_locally. Add the following line after the sleep 10:
/usr/bin/testparm -s 2>/dev/null | grep -oE "Greyhole Trash|Greyhole Attic|Greyhole Recycle Bin" | xargs -d "\n" mkdir -p
Will also create the appropriate Trash folder if you have it enabled
Adding Attic support to mount_shares_locally
Re: Adding Attic support to mount_shares_locally
That is great! Would you mind adding his to the wiki? We would greatly appreciate it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Adding Attic support to mount_shares_locally
I can't seem to get this to add the shares manually.
Gives an error w/ mkdir.
Gives an error w/ mkdir.
Re: Adding Attic support to mount_shares_locally
Did you add the share via the Amahi Dashboard? The Greyhole Attic/Trash has to be added there. There should be guidance in the wiki or on the Greyhole web site to address this procedure.
Also, after adding it the mount_shares_locally should automatically pick it up, so there is no need for the step to add it. I checked mine and never added it to the script, but it is mounted locally.
Also, after adding it the mount_shares_locally should automatically pick it up, so there is no need for the step to add it. I checked mine and never added it to the script, but it is mounted locally.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Adding Attic support to mount_shares_locally
All working now.
Many thanks!
Many thanks!
Re: Adding Attic support to mount_shares_locally
There is no need to do this manually. If you create the share as described in the Dashboard and have the mount_shares_locally script running, it will pick it up automatically.Small improvement to mount_shares_locally. Add the following line after the sleep 10:
/usr/bin/testparm -s 2>/dev/null | grep -oE "Greyhole Trash|Greyhole Attic|Greyhole Recycle Bin" | xargs -d "\n" mkdir -p
Will also create the appropriate Trash folder if you have it enabled
If there is something I am missing, please let me know.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 10 guests