소스 검색

adds commands to xargs and moves to pages/common

  - xargs is also native to OS X
Alex Flores 9 년 전
부모
커밋
b1d38625d5
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pages/common/xargs.md

+ 4 - 0
pages/linux/xargs.md → 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`