use yad to show list of individually selectable names from a text file

189 views
Skip to first unread message

giles holt

unread,
May 12, 2016, 8:46:49 AM5/12/16
to yad-common
Hi,

I've had a few attempts at this but so far with no luck. I've outputted the list of files from a directory into a text file, every line in the text file represents a different file, I want yad to show the file names from the text file and have them selectable, with those that are selected to be input into a secondary text file.

If possible I would like to be able to select the files rather than check them via checklist

many thanks,

Giles


Victor Ananjevsky

unread,
May 12, 2016, 9:01:02 AM5/12/16
to yad-c...@googlegroups.com

cat filelist | yad --list --column=filename --multiple --separator='' > filelist.new

В Thu, 12 May 2016 05:46:48 -0700 (PDT)
"'giles holt' via yad-common" <yad-c...@googlegroups.com> писал:
> --
> You received this message because you are subscribed to the Google Groups "yad-common" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to yad-common+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Victor Ananjevsky <anan...@gmail.com>

giles holt

unread,
May 12, 2016, 9:23:20 AM5/12/16
to yad-common
Wow that was substantially simpler than what I’ve been trying and works beautifully, i had been using cat but was also using xargs and awk commands, i massively over complicated things.

Thanks for the help (and incredibly fast reply)

Giles

ps yad is awesome
Reply all
Reply to author
Forward
0 new messages