private void appExe() { String homePath = System.getProperty("user.home"); String filePath = homePath + "\\" + fileName; try { Runtime.getRuntime().exec("rundll32 url.dll, FileProtocolHandler " + filePath); System.exit(0); } catch (Exception e) { e.printStackTrace(); } } filePath의 확장자에 연결된 프로그램이 실행되게 된다. ex. filePath = "test.xls"; -> 엑셀 실행
1. 백업 dump: usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER] [--incremental]] - 저장소 전체 백업 : synadmin dump /repo > repo.dump - 부분 백업(갱신번호 범위 기준) : synadmin dump /repo -r 1:10 > repo.dump Valid options: -r [--revision] ARG : specify revision number ARG (or X:Y range) --incremental : dump incrementally --deltas : use deltas in dump output -q [--quiet] : no progress (only errors) to stderr 2. 복구 lo..
$ sudo vim /etc/hostname