Skip to main content

Good Housekeeping: Monitoring and Tidying Up File Systems

  • Chapter
Shell Scripting Recipes
  • 834 Accesses

Summary

The scripts in this chapter run the gamut from totally interactive (undup) to fully automated (dfcmp). Somewhere in between, symfix, sym2file, and zrm can do their work unhindered, or can prompt the user for confirmation of each action. Though designed for use at the command line, lsr needs no interaction, and can be used in scripts.

This is typical of a file management system, of which these scripts would be only a small part. Some tasks can be automated, but you will always want to control some things yourself. In addition to these, and the file-aging scripts in Chapter 14, you will probably need a good file manager. Some people swear by Midnight Commander (mc), others by Konqueror. My favorite is gentoo, which was based on the Amiga file manager, Directory Opus. Many applications also have interactive file managers: lynx, emacs, pine, and others.

In addition, you will probably need to write some more scripts to deal with your own particular situation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Chris F. A. Johnson

About this chapter

Cite this chapter

(2005). Good Housekeeping: Monitoring and Tidying Up File Systems. In: Shell Scripting Recipes. Apress. https://doi.org/10.1007/978-1-4302-0024-6_9

Download citation

Publish with us

Policies and ethics