[Solved] Linux and Csharp, Check If File/Folder Doesn’t Exist in Linux, if so, run MKDIR via Csharp SSH – [closed]

[ad_1] This is something I ran into not long ago so trust me on here… Let’s check out this little guy below: if(condition == true) In a way you’re already answering your question, just not comprehending the syntax. (check it out) using System; using System.IO; namespace StackOverflowQA { class Program { static void Main(string[] args) … Read more

[Solved] Search files and delete them via SSH [closed]

[ad_1] From http://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/ find . -name “error.log” -exec rm -rf {} \; And also XARGS example from http://www.askdavetaylor.com/how_do_i_delete_all_occurances_of_a_file_in_linux.html find . -name “error.log” | xargs rm 0 [ad_2] solved Search files and delete them via SSH [closed]