pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

"file" command in afc shell appears to run on host instead of inside device

Open ViRb3 opened this issue 1 year ago • 4 comments
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

ViRb3 avatar Sep 11 '24 17:09 ViRb3