pymobiledevice3
pymobiledevice3 copied to clipboard
"file" command in afc shell appears to run on host instead of inside device
trafficstars
Test environment
- Host OS version: macOS 14.6.1
- Target device model and iOS version: iPhone 15 Pro, iOS 17.6.1
Describe the bug
I'm trying to run the file command to see information about a file on my device. However, I always get an error that the file does not exist. If I use tab auto-complete, I get suggestions for files in the current working directory of my host, not my iDevice. Surely enough, it also executes file if I specify a file on my host.
To Reproduce
pymobiledevice3 apps afc com.example.app
file example.txt
Expected behavior Result from device is returned
Logs Result from host is returned instead
Additional context N/A
For community
⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment