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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-28-2013 02:39 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 08-29-2013 03:18 PM
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
