user interface - How to move files in different directories in linux (cui) -
i working on exercise in command line crash course (http://cli.learncodethehardway.org/book/ex11.html)
so far learned , understand how copy (cp) , move (mv) directories , files within same path.
but!
how move (mv) or copy (cp) file or directory separate path? example:
here path
path 1: ~/temp/i/like/icecream ~/temp
path 2: ~/desktop/blue/red/yellow ~/desktop
if wanted lets blue desktop, temp folder how do this?
i bash error or "this file or directory doesn't exist". understand reading in specific path or in "desktop" can't figure out life of me how 2 different paths recognize 1 another. way can use gui , put temp directory in desktop directory or dragging files want temp directory desktop. if can gui, shouldn't able cui? thanks!
if wanted given folder blue
personal temp directory, type:
mv ~/desktop/blue ~/temp
this appears want do; comment if doesn't work.
Comments
Post a Comment