I was wondering if anyone had some source code/snippets of code that can:
- Move a a file (I guess copy -> paste -> delete old one)
- Rename a file.
- Locate whether a file is in a certain place?
Im using XCode on a mac.
Thanks
I was wondering if anyone had some source code/snippets of code that can:
- Move a a file (I guess copy -> paste -> delete old one)
- Rename a file.
- Locate whether a file is in a certain place?
Im using XCode on a mac.
Thanks
http://www.rocketaware.com/man/man2/rename.2.htm
IIRC, the MacOS is a POSIX compliant OS (or close enough anyway) that functions like this should be available to you as well
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.