You are not logged in.
Pages: 1
This works with single files but not multiple files.
Can I fix it?
basename %F > filename.txt && geany filename.txt && rm filename.txt
Ubuntu-Mate 24.04
Offline
i do not have a command named geany and have no idea what it does. i have no idea what you want to get out of this.
my general approach to do some one thing to many files is to run a loop in a subshell like this:
(for filename in *;do ls -l "$filename";done)
the () to make a subshell are not literally required, but if a mistake is made, it is easier to kill what is going on, so i recommend having at least one subshell layer.
Last edited by Skaperen (2024-09-24 03:12:21)
Offline
i do not have a command named geany and have no idea what it does. i have no idea what you want to get out of this.
my general approach to do some one thing to many files is to run a loop in a subshell like this:
(for filename in *;do ls -l "$filename";done)
the () to make a subshell are not literally required, but if a mistake is made, it is easier to kill what is going on, so i recommend having at least one subshell layer.
Geany is an text editor.
Ubuntu-Mate 24.04
Offline
are you going to be editing more than one file in one geany session or are you going to run separate geany sessions per file?
whatever way, how will you be providing the names of files? will it be a list saved in a file of its own?
Last edited by Skaperen (2024-10-08 06:28:27)
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 523.46 KiB (Peak: 524.09 KiB) ]