LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2006, 05:10 PM   #1
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
nondescript title: a few questions


Sorry about the tile, but I really didn't know what to put, and I don't see much point in starting a thread for each question, as they should be quite straightforward, at least, I hope so. Here they are:

1) Is there a way to remove a directory from the CLI when the directory is not empty? I am sick of seeing this message, and manually deleting all the contents before being able to remove a directory.

2) When trying to copy a directory from one partition to another, I get the message "omitting directory", is there a way around this?

and finally,
3) I have a few computers at home, and every now and then I have to move files from one to another, the only medium available to me are CD's and USB sticks. And it's a pain in the arse doing it this wa, so I was wondering, is it possible to do this using ssh?

Sorry about the length of the post, and thanks for any help.

John
 
Old 12-17-2006, 05:16 PM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
1)
Code:
rm -rfv (or i instead of v for interactive to delete em 1 by one) <directory>
(man rm)

2)
Code:
cp -rfv (or i for interactive as well) <directory> <destination>
(man cp)

3) yes, you will need ssh on the machines you want to copy onto/from and you can use scp to copy across. You could also use FTP or mount the directories using samba/NFS.
 
Old 12-17-2006, 05:19 PM   #3
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Original Poster
Rep: Reputation: 31
Ok, thanks ethics.

I posted, and about 5 seconds later, I have an answer. I love this place.
Once again, Thanks ethics, this has really been getting on my nerves for a while now.

John
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't call method "title" on undefined title in Perl script scuzzman Programming 12 12-11-2009 04:40 AM
title Polanski Linux - Laptop and Netbook 0 05-08-2006 09:18 PM
under with title and sub title the "GTK devel" found in fc3? AKAKAK Fedora 3 02-27-2005 05:51 AM
Job Title? patpawlowski General 6 01-28-2004 08:52 AM
Title gcombe74 Linux - General 5 07-14-2001 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration