Open itskenny0 opened 5 years ago
Like doing ls | /dev/share
?
I was thinking cat image.jpeg >/dev/share
.
I'm not too knowledgeable regarding unix devices so this might not be the best idea.
I can see problems if more than one program writes to /dev/share at the same time.
Again, not very knowledgeable about unix devices, but can't they implement some sort of locking preventing other pids from writing to it while another is?
Maybe there is a better way to do this, this was just my first idea. However, I can see a lot of potential in creating hooks into iOS features from within shell scripts or CLI applications.
Would it be possible to introduce a /dev/share device that would pop up the iOS share dialogue when you copy a file to it? That would be an extremely useful and scriptable mechanism to export files.