Quote:
Originally Posted by ruben.rodrigues
Man, the idea is to not need to enter the directory. Is to write a script that tells me in which directory I am or in which file did I click
|
Oh. Try this, man.
Code:
#!/bin/sh
file=`zenity --list --title="Choose the FILE you wish to view" --column="File" *`
zenity --info --title="file, directory..." --text "directory: $PWD\nfile: $file"