You are not logged in.
I want to do a thunar custom action for hidden and unhidden files.
For hide files I use “ echo %N >> .hidden” and it works.
For unhidden I use “sed -i s/n%//gi /.hidden” and it doesn’t work.
Could you tell me any idea of how can I unhidden files with a thunar custom action.
Offline
Hello and welcome.
“sed -i s/n%//gi /.hidden”
A couple of issue with this command: first, it should be "%n" and secondly, "/.hidden" is the .hidden file in the system root.
Try these commands instead:
Hide:
echo %n >> %d/.hidden
UnHide:
sed -i '/%n/d' %d/.hidden
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you very much, ToZ
Offline
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 522.88 KiB (Peak: 531.22 KiB) ]