diff --git a/pages/linux/xargs.md b/pages/common/xargs.md similarity index 74% rename from pages/linux/xargs.md rename to pages/common/xargs.md index e61debb84..40aa47262 100644 --- a/pages/linux/xargs.md +++ b/pages/common/xargs.md @@ -13,3 +13,7 @@ - Example: list unneeded packages with deborphan and remove them with apt-get: `sudo deborphan | xargs sudo apt-get remove` + +- creating variables: copy all files that start with 'M' to the Desktop + +`ls M* | xargs -J % cp % ~/Desktop`