소스 검색

initial commit

master
Victor Giers 3 년 전
커밋
0d6c6c4806
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7
    0
      README.md

+ 7
- 0
README.md 파일 보기

@@ -0,0 +1,7 @@
# Collection of Bash code snippets, mostly one liners, to ease file handling among other things
Collection of notes
#### rename files to reverse order
```N=1; ls -tr -1 *.jpg | tac | while read file; do mv "$file" "$N".jpg; N=$((N+1)); done```
#### rotate all images using imagemagick
```mogrify -rotate 180 *.jpg```
```mogrify``` overwrites existing images which is what makes it different from ```convert```

Loading…
취소
저장