Complete Idiot's Guide to Linux:Organizing Your Files
function GetCookie (name)
{
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen)
{
var j = i + alen;
if (document.cookie.substring(i, j) == arg) {
var end = document.cookie.indexOf (";", j);
if (end == -1)
end = document.cookie.length;
return unescape(document.cookie.substring(j, end));
}
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
var m1='';
var gifstr=GetCookie("UsrType");
if((gifstr!=0 ) && (gifstr!=null)) { m2=gifstr; }
document.write(m1+m2+m3);
Keyword
Title
Author
ISBN
Publisher
Imprint
Brief
Full
Advanced Search
Search Tips
Please Select
-----------
Components
Content Mgt
Certification
Databases
Enterprise Mgt
Fun/Games
Groupware
Hardware
IBM Redbooks
Intranet Dev
Middleware
Multimedia
Networks
OS
Prod Apps
Programming
Security
UI
Web Services
Webmaster
Y2K
-----------
New Titles
-----------
Free Archive
To access the contents, click the chapter and section titles.
Complete Idiot's Guide to Linux
(Publisher: Macmillan Computer Publishing)
Author(s): Manuel Ricart
ISBN: 078971826x
Publication Date: 12/22/98
function isIE4()
{
return( navigator.appName.indexOf("Microsoft") != -1 && (navigator.appVersion.charAt(0)=='4') );
}
function bookMarkit()
{
var url="../../../../../www.itknowledge.com/PSUser/EWBookMarks.html@url="+window.location+"&isbn=0";
parent.location.href=url;
//var win = window.open(url,"myitk");
//if(!isIE4())
// win.focus();
}
Search this book:
Previous
Table of Contents
Next
Chapter 6Organizing Your Files
In This Chapter
Creating Folders
Working with Files and Folders
Emptying the Trash
Setting File and Folder Permissions
KDE Templates
Getting Organized: Creating a Folder
Folders, or directories, allow you to group your files along some criteria. (For example, files for a book project all go in one folder, and files for your correspondence go in another.) This grouping capability will help you locate your files more easily. This will be more important as the number of files you create and store grows.
To create a folder using KFM, in an open KFM window, navigate with your mouse to the location where you want to create the new folder. Choose New from the File menu and choose Folder from the submenu.
After you have selected Folder from the submenu, a panel asking you for the name of the folder will be displayed (see the following figure). Type the name for the folder. (Pick a name as suggested in the section File Naming in Chapter 5, Creating, Editing, and Saving Files.) Then press Enter.
New folders are empty by default and ready for you to add files and other folders to it. In the KDE Templates section later in the chapter, youll learn how to customize the New command so that you can create files and folders that already contain other documents.
The New command under the File menu is customizable, which is why you have to navigate two menus to find the Folder option
In this panel, type the name of the new folder you want to create.
Copying Files and Folders
You can copy files and folders into other folders. When you copy a folder, all the files and folders it contains are copied, too. In KFM, there are two ways that you can copy files and directories: using drag-and-drop and using the Clipboard with Copy and Paste.
Copying Files Using Drag and Drop
When you copy files using drag and drop, you click and drag the file you want to copy into another directory, onto the desktop, or into another KFM window. A menu appears asking you if you want to copy, move, or link the item (see the next figure).
Copying Files Using the Clipboard
You can also copy files and folders using the clipboard. To copy a file, select it (Ctrl+Click) and then choose Copy from the Edit menu. Navigate in the KFM window to the directory where you would like to place the copy and choose Paste from the Edit menu.
Copying a folder using drag-and-drop.
Moving Files and Folders
Moving files and folders is almost the same as copying the files using drag-and-drop. Instead of picking Copy from the pop-up menu, you pick Move (see the previous figure). Similar to copying a folder, if you move a folder, all files and folders inside the directory are also moved.
Linking Files and Folders
If you often find yourself copying files in order to have easy access to them, Linux has a better solution: links.
A link is a pointer to a file or folder that is somewhere else in the file system. A link looks and acts like the file or folder it points to. If you are viewing it through KFM, it will have the same icon (with the exception that it will have a little arrow next to it). When you open a link, you see the same file contents as the file the link points to.
Links are created in the same way you copy or move files using drag and drop. You click and drag the file you want to link into another folder or the desktop, and when you let go of the mouse button, you choose Link from the menu that is displayed.
This is what a linked folder looks like.
Replacing a File or a Folder
If you drag and drop a file whose name already exists in the directory, KFM will ask you if you would like to replace the original file or abort the operation (see the next figure).
Replacing a folder or a file permanently removes the file you are replacing. When you go to replace a file, KFM presents you with a dialog box that allows you to do one of three things: Rename the file (if you dont want to replace the original), skip the operation, or overwrite the file. If you drag multiple files, you can answer the dialog box a file at a time, or you can overwrite all files without any additional warnings.
Be careful when you replace files. Its important to remember that files that you overwrite are not recoverable.
If a file or directory with the same name already exists, you will be presented with this panel.
Deleting a File or Folder
To delete a file or a folder, select it and then choose Delete from the Edit menu. The file or folder will be destroyed after you confirm your action (see the following figure). Deleted files are not recoverable.
When you use the Delete command, you will be presented with this dialog box.
Moving a File or Folder to the Trash
A safer way to remove files than using Delete is to move them to the Trash. The Trash is a special folder on your Desktop where you can put files you want to get rid of. Instead of immediately being deleted, the file remains in the trash until you empty it. This allows you some extra time to ensure that you wont be needing the file.
To move a file to the trash, select it and then choose the Move to Trash command from the Edit menu.
You can also move files to the Trash using drag and drop. Just click on the file you want to move to the trash and, without letting go of the mouse button, drag the mouse over the Trash icon on your desktop; then release the mouse.
Retrieving a File or Folder from the Trash
Files moved into the Trash remain there until you empty the Trash. If you havent emptied the Trash since you moved a file there, you can get it back. The Trash is just a special folder for holding documents you are about to delete. You can open it as you do other folders by clicking on it. To rescue a file, just click it and move it out of the Trash.
Emptying the Trash
As the amount of trash grows, you might wish to empty it to regain the disk space consumed by trashed files. To empty the Trash, right-click its icon and choose Empty Trash Bin from the menu that is displayed (see the following figure).
To empty the Trash, right-click the Trash Bin icon and choose Empty Trash Bin from the resulting menu.
Previous
Table of Contents
Next
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited.
Wyszukiwarka
Podobne podstrony:
2010 01 02, str 059 063059 063Hardwell On Air 063v 03 059059 ENGLISHB 70 059 by Salsakidv 01 059A 70 059 by ZeeI F 059więcej podobnych podstron