Adam, Actually:
cd /my/dir/dir mv files .. You're method moves things other that the "files" subdirectory up one level, and does not move the "private" (.*) files. Moving the subdirectory does move everything include the "dot" files. -- John McKown Senior Systems Programmer UICI Insurance Center Applications & Solutions Team This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. > -----Original Message----- > From: Adam Thornton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 05, 2004 12:30 PM > To: [EMAIL PROTECTED] > Subject: Re: Command to move everything up a directory > > > On Wed, 2004-05-05 at 12:24, Adam Thornton wrote: > > On Wed, 2004-05-05 at 12:00, Marcy Cortes wrote: > > > I need a mv incantation to move everything up a > directory, i.e. change: > > > > > > /my/dir/dir/files to > > > /my/dir/files > > > > cd /my/dir/dir > > mv * .. > > Other people's suggestions are better, as this does not move dotfiles, > does it? > > Adam > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
