1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MacOSでフォルダの複写がうまくいかなかった件。

Last updated at Posted at 2020-03-31
1 / 2

MacOS同士

1.

MacOSのファインダで、フォルダの複写を何度やっても途中で止まってしまいました。
止まるだけで、警告を出してもらえなく、何がなんだかわかりませんでした。

terminalを立ち上げ

cp命令で、フォルダの複写をしたら、
2つファイルが存在しないという警告を出して、
複写は完了しました。

bash
cp -r /Users/administrator/ .
cp: /Users/administrator//.config/configstore: unable to copy extended attributes to ./.config/configstore: Permission denied
cp: /Users/administrator//.config/configstore: Permission denied
cp: /Users/administrator//Library/Saved Application State/com.microsoft.Outlook.savedState: No such file or directory
cp: /Users/administrator//Library/IdentityServices: unable to copy extended attributes to ./Library/IdentityServices: Operation not permitted
cp: /Users/administrator//Library/IdentityServices: Operation not permitted
cp: /Users/administrator//Library/WebKit/com.apple.finder/WebsiteData/IndexedDB/v0: directory causes a cycle
cp: /Users/administrator//Library/Developer/Xcode/GPUToolsAgent.sock: Operation not supported on socket

2

cp命令がなかなか終わらない時には、
どこを現在複写中か探す方法。

bash
$ ls -al
...
drwxr-xr-x@  147 administrator  staff        4998  3 31 11:22 AB
-rw-r--r--@    1 administrator  staff      109545  3 31 11:24 C.docx
drwxr-xr-x@ 1203 administrator  staff       40902  3 31 11:37 Downloads
drwxr-xr-x@   29 administrator  staff         986  3 31 11:25 Instagram_files
...
$ cd Downloads
$ ls -al
...
drwxr-xr-x@    5 administrator  staff       170  3 31 11:31 org
drwxr-xr-x@    5 administrator  staff       170  3 31 11:27 pb
drwxr-xr-x@   93 administrator  staff      3162  3 31 11:28 prob

っと、最新のフォルダの中をさがしていく。

3

複写の途中で許諾確認画面で止まることがある。

その他

llvm
GNOME

の2つのフォルダがおおきすぎ、複写がおわりそうになかった。

両方とも途中でフォルダを削除した。

ゴミ箱を空にするが、10,000ファイルぐらいに2時間かかって、おわらなかった。

ごみ.png

詳細は順次掲載します。

WindowsHDDから

Windowsの予備HDDからフォルダごと複写しようとしたら途中でなかなか動かない。

terminalを立ち上げ

cp命令で、フォルダの複写をしたら、

$ cp -r /Volumes/Untitled .
cp: /Volumes/Untitled/Backup/Users/administrator/AppData/Local/Microsoft/Windows/UsrClass.dat.LOG2: Operation not permitted
cp: /Volumes/Untitled/Backup/Users/administrator/ntuser.dat.LOG2: Operation not permitted
cp: /Volumes/Untitled/Backup/Users/Default/AppData/Local/Microsoft/Windows/UsrClass.dat.LOG2: Operation not permitted
...

文書履歴(document history)

ver. 0.01 初稿 20200331
ver. 0.04 URL追記 20230308

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?