Transfer a file to a different folder - bash -


in bash, creating text file follows:

echo " text file" > new.txt 

my current folder scripts_new .

how can transfer file new.txt folder (scripts_old), i.e. folder different present folder working in (scripts_new) in automatically put?

you want mv command this:

mv new.txt ../scripts_old 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -