Skip to content

Instantly share code, notes, and snippets.

@son0p
Last active February 10, 2016 19:51
Show Gist options
  • Save son0p/e152deff573a648740e8 to your computer and use it in GitHub Desktop.
Save son0p/e152deff573a648740e8 to your computer and use it in GitHub Desktop.

Revisions

  1. federico lopez renamed this gist Feb 10, 2016. 1 changed file with 3 additions and 4 deletions.
    7 changes: 3 additions & 4 deletions oneliners.md → oneliners.py
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,10 @@
    ## Rsync
    ### verbose copy
    ```
    rsync -av ~/projects/test /media/ff/3593-80E0/fede/projects/
    ```

    ## Find
    ### files by size
    ```

    find ~/ -type f -size +2000000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
    ```


  2. federico lopez revised this gist Feb 10, 2016. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion oneliners.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,8 @@
    # Rsync
    ## Rsync
    ### verbose copy
    ```
    rsync -av ~/projects/test /media/ff/3593-80E0/fede/projects/
    ```
    ## Find
    ### files by size
    ```
  3. federico lopez created this gist Feb 10, 2016.
    7 changes: 7 additions & 0 deletions oneliners.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Rsync
    ## Find
    ### files by size
    ```
    find ~/ -type f -size +2000000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
    ```