Timeline for find a directories that does not contain a file with name OSZICAR and then cd into that directory and do something more
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 8, 2016 at 19:33 | comment | added | schily | OK added a then. Whether this does what you like is still not clear but it lists all directories. | |
| Mar 8, 2016 at 19:33 | history | edited | schily | CC BY-SA 3.0 | then added |
| Mar 8, 2016 at 19:30 | comment | added | user40780 | Still having a error: dummy: -c: line 0: syntax error near unexpected token fi' dummy: -c: line 0: echo $1; cd $1; ls; if [ ! -f OSZICAR ];echo "doing my thing";fi' | |
| Mar 8, 2016 at 19:27 | history | answered | schily | CC BY-SA 3.0 |