Re: File copying



Glib has a few various functions for that, like g_chmod, g_stat, etc,
but you might want to take a look at GIO's GFileInfo API. It has a
large array of attributes to get/set, depending on the GIOModule being
used.

On Fri, 4 Feb 2011 22:51:36 +0000
John Emmas <johne53 tiscali co uk> wrote:

Does glib have any functions for setting a file's attributes /
creation date / last modification date etc?  I need to move some
files (programmatically) to a new directory whilst preserving their
dates and other attributes.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


--
Nader Morshed <morshed nader gmail com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]