Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ideviceinfo: add a new option for printing device info in a file #1558

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

iFred09
Copy link

@iFred09 iFred09 commented Apr 21, 2024

Hello,

In this pull request, I added a new option to the ideviceinfo program: a -p option, allowing you to print device information to a file on your computer. You can choose the file name just after the -p option in your command, like this:

ideviceinfo -p ~/Desktop/hello.txt

will print device information in a new file called hello.txt in your Desktop.

It also works with other options, like

ideviceinfo -x -p  ~/Desktop/hello.txt

will print device information in XML format in a new file called hello.txt in your Desktop.

@topiga
Copy link

topiga commented May 9, 2024

I don't understand why we would need this, since you can just redirect the stdout to a file, with this ideviceinfo > ~/Desktop/hello.txt

@nikias
Copy link
Member

nikias commented May 18, 2024

I agree this seems kinda pointless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants