Profile
Achievement
Dorgendubal's Recent SnippetsTagged Bash
- All /
« Prev 1 Next »
* Resized images are generated into TARGET_DIR.
* Change the resolution (800x800 in my example) and quality (80) as you want.
* The command keeps the image's proportion. 1600x1200 will be converted into 800x600, 1200x1600 into 600x800.
_Notice_:...
2
1041
posted 15 years ago by Dorgendubal
Useful when you have to deal with ClassNotFoundException. The command looks for all jar in the current directory and any sub-directory, and checks if the jar contains the specified class. The command lists all matching jars.
0
1029
posted 15 years ago by Dorgendubal
Useful to quickly identify processes listening to ports (to eventually kill them).
0
797
posted 15 years ago by Dorgendubal
Useful to convert all matching files from one encoding to another.
Some examples:
1
1117
posted 15 years ago by Dorgendubal
* _HOST_: remote host
* _PORT_: ssh port (default 22)
* _PATH_: remote path to synchronize
0
668
posted 15 years ago by Dorgendubal