LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2016, 02:34 AM   #16
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,863

Original Poster
Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338

As what I had said in my previous post, I did the copying for 6 hours but I can't stop thinking how to make it easier.

Anyway, for the love of this community and to help people make life easier. Here's the solution, it is easy and easy.

Quote:
cp -- "/usr/dfiles/$line/Tasks/#msgs/*.eml" "/mnt/NAS/Tasks1/$line/"
Just append double dash and that's it.

Hmm, one dash is 3 hours. Double dash is 6 hours. Hope this will help someone along the way.

Last edited by JJJCR; 12-13-2016 at 02:35 AM. Reason: edit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Special characters in bash robertjinx Linux - Server 4 06-21-2016 07:45 AM
How do I replace special characters in a string within a bash script? rhaup0317 Linux - Newbie 2 06-03-2008 11:56 AM
Copying files with special characters cornish Linux - Newbie 13 12-21-2007 11:22 AM
How to rename file while copying - and remove special characters corporal79 Linux - General 3 10-11-2007 04:16 PM
bash and filenames with special characters CoolAJ86 Programming 2 03-09-2005 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

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