2月 242016
 

iphoneから、写真をひとつのフォルダバックアップしたら、重すぎて、エクスプローラで開くのに超時間がかかってしまったので、コマンドプロンプトで年別にコピーすることに。

例は、

  1. 対象ファイル:2014年12月31日以前
  2. 移動前フォルダ
    1. i:\picture\xxx_iphone
  3. 移動後フォルダ
    1. I:\picture\2014\xxx_iphone\photos

moveを使用した場合、存在しないディレクトリに移動しようとすると、ファイルが消えてなくなるので、
copyでコピーして、確認してから削除する。

C:\Users\xxx>forfiles /p i:\picture\xxx_iphone /d -2014/12/31 /c "cmd /c copy
 @file I:\picture\2014\xxx_iphone\photos"

ほかのデバイスの場合、cdできない?と思って、上記のように実行したのだけど、

C:\ /d i:

でいけた。

なので、

C:\ /d i:\picture\xxx_iphone 
i:\picture\xxx_iphone /d -2014/12/31 /c "cmd /c copy
 @file I:\picture\2014\xxx_iphone\photos"

でもOK

参考
forfiles:http://www.atmarkit.co.jp/ait/articles/0902/27/news132.html
moveコマンド:http://www.k-tanaka.net/cmd/move.php

よく読まれている記事

この記事を読んだ人は次の記事も読んでいます:

このエントリーをはてなブックマークに追加
はてなブックマーク - windowsコマンドで日付範囲を指定してファイルを一括移動
[`google_buzz` not found]
[`yahoo` not found]
[`livedoor` not found]
[`friendfeed` not found]
[`tweetmeme` not found]
[`grow` not found]
[`evernote` not found]

 Posted by at 10:28 AM

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)