Sample Header Ad - 728x90

Files copied with cp are disappearing or not arriving as expected

1 vote
2 answers
783 views
I'm trying to copy
~/Desktop/profiles/a.mobileprovision
to
~/Library/MobileDevice/Provisioning Profiles
. Whether or not that's a good idea is not the topic of this question. The files never appear, even when doing an
-la
. Here's my procedure. 1.
$ cd ~/Library/MobileDevice/Provisioning Profiles
// cd is working as expected. 2.
$ cp ~/Desktop/profiles/a.mobileprovision .
3.
$ find . -name "a.mobileprovision"
nothing. Permissions for the directory:
-xr-x
, so I should be allowed. I'm on a Mac (Monterey 12.5), so I've also tried: 1. Opening up
~/Library/MobileDevice/Provisioning Profiles
in Finder and dragging and dropping
.mobileprovision
, but it disappears upon releasing the mouse. I've got hidden files showing. No luck. 2. Copying
.mobileprovision
to
~/Library/MobileDevice
. This works fine, but when I try to copy it to
~/Library/MobileDevice/Provisioning Profiles
, it does not. **Responses to comments:** 3. Doing
$ pwd
after the cd yields
~/Library/MobileDevice/Provisioning Profiles
4. Doing
$ cp ~/Desktop/profiles/a.mobileprovision ~/Library/MobileDevice/Provisioning Profiles
has the same effect: no copy performed. 5. Mac version: Monterey 12.5 (switched to bash from zsh). 6.
$ cp -v ~/Desktop/profiles/a.mobileprovision .
yields
~/Desktop/profiles/a.mobileprovision -> ./a.mobileprovision
7.
. -name ""
while in
~/Library/MobileDevice/Provisioning Profiles
is working. 8. Tried
~/Desktop/profiles/a.mobileprovision ~/Library/MobileDevice/'Provisioning Profiles'
. Same problem. Thanks for the help!
Asked by h.and.h (123 rep)
Feb 25, 2023, 07:51 PM
Last activity: Jun 12, 2025, 12:31 PM