Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ica_file=$(find ~/Downloads -maxdepth 1 -name "*.ica" -print0 | xargs -r -0 ls -1 -t | head -1)
- if [[ -f ${ica_file} ]]; then
- echo "Processing .. ${ica_file}"
- sed -i '' 's/ClientAudio=On/ClientAudio=Off/' ${ica_file}
- open ${ica_file}
- fi
- kill $(ps -p $(ps -p $PPID -o ppid=) -o ppid=)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement