Re: File move programatically in C

Roy Strachan <rd@xxxxxx> writes:

I'm trying to write a program to reorganize files on an Ubuntu Linux
8.04 box. I have it mostly working but I can't find a function to
move files.

Use Perl (or Python or ...) instead. It will pay off in the end, believe

use File::Copy;
move ($file1, $file2);

Takes care of most problems discussed in this thread.