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
Post a Comment