开发者

C++ library for renaming/moving/organizing files [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and m开发者_JS百科ore. You can edit the question so it can be answered with facts and citations.

Closed 3 years ago.

Improve this question

I have a bunch of .mp3 files with really lousy names, and im looking to write a program that can rename each and every one into a legitamate recognizing name. I am looking for a library that could

  1. get the name of a mp3 file, and rename that file
  2. create new directories, and move certain files

If anyone knows a good library to use, or if C++ already has it built in, let me know please!

Thanks alot!


Give Boost Filesystem http://www.boost.org/doc/libs/release/libs/filesystem/index.html a try.


I suggest using Boost.Filesystem.


rename() is in the standard library.

For most of the rest, consider Boost Filesystem.


If I were you, I would use boost::filesystem.


boost::filesystem seems like the winner, but QDir and QFile are pretty nice too. I've been happy with how Qt does things in a platform invisible (to me) way. If you don't want to check out boost for some reason, you may want to consider Qt.

I'm not saying anything negative about boost, I just figured this might be a helpful alternative.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜