Re: [sqlite] hide sqlite database

2013-03-10 Thread Simon Slavin

On 10 Mar 2013, at 7:53pm, Clemens Ladisch  wrote:

> dd wrote:
>> I have backup of existing database. I just want to hide this backup
>> database.
> 
> If the backup file is hidden, you won't be able to restore from it.
> I doubt that that is your goal.
> 
> What is your actual purpose for hiding this file?

Possibly more clearly: what are you hiding it from ?  People casually looking 
around in your file GUI ?  All other applications under all other circumstances 
?  All applications including your restore one unless you intentionally make 
the file visible first ?

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] hide sqlite database

2013-03-10 Thread Clemens Ladisch
dd wrote:
> I have backup of existing database. I just want to hide this backup
> database.

If the backup file is hidden, you won't be able to restore from it.
I doubt that that is your goal.

What is your actual purpose for hiding this file?


Regards,
Clemens
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] hide sqlite database

2013-03-10 Thread Simon Slavin

On 10 Mar 2013, at 7:52am, dd  wrote:

> I have backup of existing database. I just want to hide this backup
> database.

Hiding a file is a function of your operating system, not SQLite.  Get some 
experience with hiding a simple text file.  Once you have that working, just do 
the same thing with hiding the SQLite database file.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] hide sqlite database

2013-03-09 Thread dd
I have backup of existing database. I just want to hide this backup
database.


On Thu, Mar 7, 2013 at 5:49 PM, Clemens Ladisch  wrote:

> dd wrote:
> > I want to hide sqlite database file.
>
> If you hide it, SQLite will not be able to open it.
> It would be easier to just delete the file.
>
> What do you actually want to achieve?
>
>
> Regards,
> Clemens
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] hide sqlite database

2013-03-07 Thread Clemens Ladisch
dd wrote:
> I want to hide sqlite database file.

If you hide it, SQLite will not be able to open it.
It would be easier to just delete the file.

What do you actually want to achieve?


Regards,
Clemens
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] hide sqlite database

2013-03-06 Thread Clemens Ladisch
dd wrote:
>Is there any flag to create sqlite database in hidden mode? (chmod,
> setfileattributes are os specific). I am looking for os independent.

There is no OS-independent way to hide files.
For that matter, several OSes cannot hide files at all.

What is your actual goal?


Regards,
Clemens
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] hide sqlite database

2013-03-06 Thread dd
Hi all,

   Is there any flag to create sqlite database in hidden mode? (chmod,
setfileattributes are os specific). I am looking for os independent. It
runs on 3 major desktop oss.

Thanks,
dd.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users