Skip to main content
Question

Interactive shell script to move ("mv") contents of folder, to a new folder

  • August 28, 2013
  • 1 reply
  • 6 views

Forum|alt.badge.img+12

I understand the echo and read commands, but what follows "read" for /pathtofolder.

Basically I want to input a user's current local home directory path and have the contents be moved (not copied) to another (newly create) user's home folder (replacing the contents, then do the subsequent chown -R command.

I can do all of this in the GUI as Root user, but not sure with terminal commands in an interactive script.

thanks in advance

jk

1 reply

Forum|alt.badge.img+31
  • Honored Contributor
  • August 29, 2013

Hey John,

Are you looking for GUI interaction, or for shell interaction? Can you give an example work flow or example code you are currently trying to use?

Thanks,
Tom