Showing posts with label find. Show all posts
Showing posts with label find. Show all posts

Thursday, April 20, 2017

rename jadi jpg

find . -name "x*" -exec bash -c 'mv "$1" "$1".jpg' - '{}' \;

sip

Thursday, June 14, 2012

Cari text di files linux

Cari kata "jdbc" di semua file .xml dari folder /tmp =
grep jdbc *.xml -r /tmp

FIND = Cari file di linux

find . -name [namafile yg dicari]

contoh:
find . -name pos*.jar
find /opt/ -name pos*.jar