in a shell script i have these commands
with the first command i have all the directories with the second command i want to copy them in a new directory something like this
and the new directory tha the script will create is
thanks in advance !!!
Last edited by Franklin52; 09-06-2011 at 03:05 AM..
Reason: Please use code tags for code and data samples, thank you
I want to move all the files in a given directory up one level.
For example:
Dir1
Subdir1
I want to move all the files in Subdir1 up to Dir1 (then I want to ultimately delete Subdir1)
Thanks,
Ted (10 Replies)
I have figured out how to create a tar file that holds all the files in a particular directory. The plan is to move the tar to a new system via FTP so that we can test the new system with our files and libraries. What I can't figure out is how to unzip the tar file; I keep getting messages that... (8 Replies)
Hi All,
So I have another question. I'm trying to search for files with a certain extension and then move all of them up one level in the folder hierarchy.
So something like this:
original: /path/to/file/test.txt
after: /path/to/test.txt
I had some great help recently with another... (4 Replies)
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
What is the purpose (function) of the following upper level directories: -
/bin
/dev
/etc
/home
/mnt
/media
/sbin
/tmp
/var
I have encountered these, but as i said, i am new to unix and i am not quite sure what they are and what their fucntions are.
Any help would be greatly... (2 Replies)
Hi all,
can some one help me in chmod command, and let me know the various combinations for this command.
for : eg chmod -R 777 <dir names>
this gives all rights to all but i want the specific access levels kindly help me out in this issue.
Thank you,
lakshmanan (2 Replies)