Top > Programming > FileList
*ファイルを一瞬で0バイト化 http://www.itmedia.co.jp/help/tips/linux/l0438.html あたまいいなあ *ImageMagickのAPI http://vision.kuee.kyoto-u.ac.jp/~nob/doc/imagemagick/imagemagick.html *ファイルの各パラメータ取得 http://okuyama.mt.tama.hosei.ac.jp/unix/C/slide93-1.html#filestat stat関数を使う(標準ではない) *ディレクトリのファイルリスト取得 http://www.ncad.co.jp/~komata/c-kouza14.htm これが一番わかりやすい、opendir等を使う方法 http://www-cms.phys.s.u-tokyo.ac.jp/~naoki/CIPINTRO/CCGI/function.html#opendir ここを参考に http://www.ncad.co.jp/~komata/c-kouza3.htm lsを使う方法(その他、fork()やsystem()もわかりやすい) *ファイル名変更 http://www-cms.phys.s.u-tokyo.ac.jp/~naoki/CIPINTRO/CCGI/function.html#rename rename関数 |