110 reputation
6
bio website blog.freedig.org
location Austria
age 23
visits member for 3 years, 6 months
seen Jun 11 '13 at 9:04

Studying Software Engineering (MSc) at the University of Applied Sciences Hagenberg.


Oct
30
comment FileZilla menu not showing up in Ubuntu Lucid Lynx (10.04)
** Alright, too fast... See my answer. **
Oct
30
comment FileZilla menu not showing up in Ubuntu Lucid Lynx (10.04)
Had this issue with Ubuntu 12.10. This fixed it. This should be the accepted answer (especially since this is the first result when I googled it)
Oct
25
comment Use test to check for condition with find and execdir option
Thank you very much for the explanation. find /usr/share/themes -mindepth 1 -maxdepth 1 -type d -execdir test -d {}/gnome-shell \; -print does the job.
Oct
24
comment Use test to check for condition with find and execdir option
Good idea. find /usr/share/themes -mindepth 2 -maxdepth 2 -type d -name gnome-shell -execdir pwd \; produces what I want.
Oct
24
comment Use test to check for condition with find and execdir option
I know that it just returns an exit status, but I think -exec checks that exit status (see my addition of the find man page in the question). As far as I know ls should not be used when the output is used as input for another command since it might print additional information or format the output.
Aug
14
comment Using find and sed to rename several subfolders
Thanks for the great effort. I must say the shell is a minefield when it comes to file renaming stuff like this. Next time I will use some higher-level language... ;)
Aug
12
comment Using find and sed to rename several subfolders
Thank you very much, this works well except in a case where a ' (single quote) character is in the name. Any idea how to tell sed or xargs to escape critical characters? You don't happen to spot the error in my command using -execdir? Using xargs like you did looks much easier and clearer, but I would like to understand what's going on.