|
can a tty execute command on another tty?
there's many ways to do things-I'm wondering if this is a valid avenue to solve mine. I'm running fdupes on my duplicate music files and come up with 6xxx dupes. *sigh* I used the -d command to prompt for deletion so now the tty it's running in asks me to press 1 for each dupe. I found I can open another tty and type
'echo "1" > /dev/pts/4'
and the 1 will show up on the other tty. is there a way to make that term send that to the process (make it execute)? or is there a way to pass that character directly to the process? my ultimate goal is to write a script that will put the 6xxx 1's in there for me. Thanks guys!
|