linux - Including hidden files in a war file using the jar command -


i'm trying create war file on mac osx in terminal. i'm trying include hidden subdirectory of config files. reason war file not including hidden subdirectory.

the command using is:

 jar cvf mywar.war * 

file contents 2 html files , 1 directory ".ebextensions"

am doing wrong? seems should easier i'm making it.

thanks!

try typing

jar cvf mywar.war * .[!.]*

with command, include directories/files, begin dot, exclude . , ...


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -