Hi All,
Please help me out
1) Command to find the disk usage in GB. I know that du -k will give in kilobites.
2) How to find the Biggest file/folder in a given set of files/folders.
Thanks in advance
Regards,
Manas (8 Replies)
Hi everyone.
I'm in need of a solution where i need to rename a folder to a name that's inside an XML file in that folder.
OS is Ubuntu 9.10 with Gnome.
I've tried using grep, sed and xpath, but can't seem to find a solution.
This is the simplified folder structure:
FOLDER-NAME
-... (4 Replies)
I am trying to grab a folder and all the folders and files underneath it and send it from one computer to another. I basically want to compress the whole folder into a tar, tgz, or zip file so that it can be sent as one file. is there a command to compress a folder and all its contents into a tar... (7 Replies)
Hi everyone,
when I try to copy *.gz files run cp within the correct source folder it works as follow:
Source folder = C:/Documents and Settings/user/Recent papers/2771/
Destination folder = C:/Documents and Settings/user/My documents/1532/temp
cp *.gz "C:/Documents and Settings/user/My... (2 Replies)
Dear All,
Please help !
i ham having 300 file with E.G. PMC1_4567.arc in seq. like PMC1_4568.arc,PMC1_4569.arc ...n and so on.. i want all those file to be rename like PMC_4567.arc ,PMC_4568.arc .. mean i want to remove 1 from first file name ..
pls help.. (6 Replies)
Hi All,
I have a unix file which is ceated with variable name, for example:
FIRST_FILE_3456 and next time it will be FIRST_FILE_3457 and so on.
I need to rename this file like PREV_FIRST_FILE_XXXX where XXXX is the variable part of the file FOR Example 3456 or 3457, etc.
Please help to... (4 Replies)
Hi All,
My requirement is as follows:
A file (say abc) will be having list of the .txt file names. I need to read this abc file line by line and rename the .txt file names inside it and move them to other folder/path.
Eg:
abc
-------
file1.txt
file2.txt
file3.txt
Output (should... (1 Reply)
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
hi guys
i have a group of directory like these
p1( 15 - 16 )
p2( 17 -15 )
p1 ( 14 - 20 )
p2 ( 13 -17 )
..
.
.
directories contain numbers represent time
i want to rename all directories and change all numbers in directories' name .
for example
p1( 15 -16 ) will change to... (16 Replies)
Discussion started by: mhs
16 Replies
LEARN ABOUT OSF1
mhpath
mhpath(1) General Commands Manual mhpath(1)NAME
mhpath - print full pathnames of MH messages and folders (only available within the message handling system, mh)
SYNOPSIS
mhpath [+foldername] [msgs] [-help]
OPTIONS
Prints a list of the valid options to this command.
DESCRIPTION
Use the mhpath command to display the full pathname of the specified folder. If you do not specify a folder, mhpath displays the pathname
of the current folder.
If you specify a message with its message number, mhpath displays the pathname of the specified message. You can also specify a number of
messages, or a range of messages. If the top of the range that you specify is greater than the last message in the folder, mhpath displays
as much of the specified range as possible.
Additionally mhpath can take a keyword or a sequence name. The following keywords are acceptable: The first message in the folder. The
last message in the folder. The message after the last message in the folder. You cannot use new as part of a message range. The current
message in the folder. The message before the current message. The message after the current message. All of the messages in the folder.
PROFILE COMPONENTS
Path: To determine your Mail directory
EXAMPLES
In the following example, mhpath displays message 3 in the folder +inbox: % mhpath +inbox 3 /r/phyl/Mail/inbox The following example dis-
plays the pathname of messages 2 to 5 in the current folder: % mhpath 2-5 /r/phyl/Mail/inbox/2 /r/phyl/Mail/inbox/3 /r/phyl/Mail/inbox/4
/r/phyl/Mail/inbox/5
FILES
The user profile.
SEE ALSO folder(1)mhpath(1)