Differences

This shows you the differences between the selected revisions of the page.

2017-02-03 2017-02-09
archiving explicit anchor (martin) Deleting on Background (martin)
Line 39: Line 39:
<code>test "!?Do you really want to delete ?no!" == "yes" && rm -rf !&</code> <code>test "!?Do you really want to delete ?no!" == "yes" && rm -rf !&</code>
 +
 +===== [[delete_background]] Deleting on Background =====
 +
 +Use the following command to delete a large directory structure in a separate process:
 +
 +<code>cmd.exe /c start "" cmd /c ""C:\Program Files (x86)\WinSCP\WinSCP.com" /command "open !S" "cd !/" "rm !&" "exit" & "C:\Program Files (x86)\WinSCP\WinSCP.exe" "!S" /refresh "!/""</code>
 +
 +Check custom command options //Local command//, //Apply to directories// and //Use remote files//.
===== [[ownership]] Changing Ownership ===== ===== [[ownership]] Changing Ownership =====

Last modified: by martin