sul3
02/14/2024, 11:21 AMbash
yes | zed relationship bulk-delete context/folder
bash
echo "y" | zed relationship bulk-delete context/folder
bash
#!/usr/bin/expect
set timeout -1 ;# Set timeout to -1 for an indefinite wait
spawn zed relationship bulk-delete context/folder
expect {
"Will delete * relationships. Continue?" {
send "y\r"
exp_continue
}
eof {
exit 0
}
}
bash
#!/bin/bash
zed relationship bulk-delete context/folder
sleep 2
xdotool type "y"
xdotool key Return
I am out of ideas, if you have any (even if it you aren't sure) would be appreciated. Thank you.