Re: Move all files in directory

meg ford <[email protected]>
Newsgroups gmane.comp.gnome.nautilus
Message-ID <CAC4QDKig_3EJL0fCLzMArtLi3-DxoHGJim6yGcKsDxHdecUeqg@mail.gmail.com>
Hey,
On Wed, Sep 4, 2013 at 11:25 AM, Sam Bull <[email protected]> wrote:

> I'm having trouble writing the code to recursively move the contents of
> a directory to another directory.
>
> I'm trying to get a list of the contents so I can move them, but this
> line always returns null, despite it being a directory with files and
> sub-directories:
>         nautilus_directory_get_file_list (dir)
>
> Does anybody know why this returns null, instead of a valid GList? Or,
> is there an easier way to move the contents of a directory?
>

iirc the recursivelyMovDir( ) function here [1] does that.

Meg

[1] https://git.gnome.org/browse/gnome-shell/tree/js/misc/fileUtils.js

-- 
nautilus-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/nautilus-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.