Symbolic Links
Eduardo Mezêncio
eduardomezencio at autistici.org
Mon Jun 16 18:32:19 EDT 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for the replies! The solution John Ralls gave worked and now
it's not syncing log files anymore.
Still, everytime I open my gnucash file and everytime I close it,
sparkleshare still shows that it's syncing something, but when I check
my remote repo there was no change at all.
Thank you!
On 16-06-2014 13:17, John Ralls wrote:
>
> On 16 Jun 2014, at 08:02, Maf. King <maf at chilwell.net> wrote:
>
>> On Mon 16 June 14 11:34:10 Eduardo Mezêncio wrote:
>>> Hi guys!
>>>
>>>
>>> The problem is that when I save in gnucash, instead of saving
>>> in the linked location, it overwrites my symbolic link with a
>>> new .gnucash file. Before using this method with gnucash I
>>> tested it with a plain text file using gedit and gedit did the
>>> right thing when saving, so I think maybe gedit knows it is
>>> dealing with a symbolic link while gnucash don't? I really
>>> don't know.. Do somebody have a workaround for this? Is this
>>> something I should send to the developer's list?
>>>
>>
>> Hi Eduardo.
>>
>> When GC saves the file, it renames the file to the backup, then
>> saves the data out to the filename - it doesn't update a file and
>> then create a backup - I think it is logically a more "safe" way
>> to save out financial data... but this does explain the symlink
>> being overwritten.
>>
>> I think your only option is to reduce the number of days that
>> backups are kept for....
>>
>> although thinking about it, would it work if you kept the GC data
>> outside the shared folder, but had a symlink pointing at the main
>> GC data file?
>>
>> so ~/shared/link-to-gnucash-data-file
>> ~/notshared/gnucash-data/[file, backups,logs]
>>
>
> Add a .gitignore file to your accounts folder and include in it the
> line *.log
>
> https://github.com/hbons/SparkleShare/issues/121
>
> Regards, John Ralls
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTn3BzAAoJEOJBlyRmOr+xH20IAI4SdYLvuMwZKTRfpTSL4u5v
K1G/hfY+j4Q4mX4ioUyQ/Bhqi1aWDhrqfTn4Tapz8u+Fz5mKOJVXbWCpU6E8BMVW
z3SQoQdaN0fqH9/XMzv19VBQzp69jusDGBABiZEJHxelkm58qdnPfuYMZTzbM6pt
dzZpCiuLrarCzu6LvgQmcPbUZN3nUGQxgmCDHli2mPJs52yRb92iGwKanjf7I45N
ClIdp9jue9i9YVKBeWVn1/3249Rzd3l5h5ZJ6OJ3yYbPGitM5FUm284oAqvBpTcK
vF3f5qouZ1dLr4Au4R9Wx85ZR4x2hmPPHmfTK7zUv6n5EL/jxVNhU8QHmbIOIZo=
=UxMN
-----END PGP SIGNATURE-----
More information about the gnucash-user
mailing list