How to move files programmatically
Hi,
i am using a Win32 API on windows to move files from one location to another. Is there an API on Linux too instead of using the system call - system(mv). Pls lemme know. |
Hi and welcome to LQ! :)
Maybe using shell scripting? If you describe what do you want to achieve in more details, we can be more helpful. It can be useful if you edit your LQ profile to include the Linux distribution you are running on your machine, so that it will be displayed under your nickname in each post. |
What programming environment are you using system(mv) in?
|
rename(2)
Only works within the same mountpoint though. |
All times are GMT -5. The time now is 03:40 PM. |