Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    You can aggregate the zip and the rm into zip -r --move --test foo.zip * Commented Jan 11, 2017 at 19:11
  • @xhienne : mydir is on another file system. I need to clean current directory with rm -rf *; after moving zip to mydir. Not able to see any zip files transferred on my dir as rm is deleting zipped file before mv complete. Commented Jan 15, 2017 at 12:21
  • @VijayShinde I don't understand your comment. Commented Jan 15, 2017 at 12:24