I would like to know why this command does not work.
I have a script which connects to and ftp site.
After getting the remote files localy i need move each remote file to a archive folder on the FTP site
*Please also note that some of the files have spaces in the file name.
Im trying to extract the list of files names from the temp output file temp_rem_file_list.
contents of temp_rem_file_list
Line of code giving the problem.
Im expecting downloadList to contain the following file names
test.txt
UBS-test 1 test.txt
UBS-test 2 test.txt
Thank you in advance for your time and for any pointers.
Last edited by juanjanse; 01-28-2012 at 06:30 PM..
i need help with my script....
i am suppose to grab files within a certain date range
now i have done that already using the touch and find command (found them in other threads)
touch -d "$date_start" ./tmp1
touch -d "$date_end" ./tmp2
find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
I'm new to scripting and would appreciate any help.
I have a list of over 20 words in File1 that I need to find in columns 10-15 of File2. I need the entire row of File2 that the File1 list matches.
I originally used a grep command which works, but provides File1 results that can be found... (3 Replies)
Hello friends,
I want a command to print the reult files from find command into a text file.:)
Iam looking from forum memebers. PLZ help me.ASAP
Thanks in Advance,
Siva Ranganath CH (5 Replies)
Hi all,
I have a large text file and also a smaller list of program names. I want to find out how many of those programs exist in the large text file. Can someone help me with the command/script please. The program list is along the lines of
tranwe2
tranwe3
tranye5
etc
so basically I... (5 Replies)
I've been using this to search an entire directory recursively for a specific phrase in my code (html, css, php, javascript, etc.):
find dir_name -type f -exec grep -l "phrase" {} \;
The problem is that it searches ALL files in the directory 'dir_name', even binary ones such as large JPEG... (2 Replies)
I'm trying to pull an image source url from a html source file. I'm new with regex. I'm in BaSH. I've tried grep -E 'http.*jpg' file which highlights the text, but gives me 2 problems:
1) Results aren't stand alone and can't be piped to another command. (I believe it includes everything in... (5 Replies)
Hi,
I am using below code snippet to echo/display the files found
(matching a pattern from searchstring.out file) and the corresponding owner.
while read j
do
echo "Pattern to search is:- $j"
find / -name "*$j*" |\
while read k
do
echo "File found is:- $k"
owner=$(ls... (9 Replies)
Hello all!
I am trying to find the "Notes" backup from my iPhone in my folder ~/Library/Application\ Support/MobileSync/Backup/ which used to be in the sqlite file ca3bc056d4da0bbf88b5fb3be254f3b7147e639c. But since an update of the MacOS it is still there, but not updated anymore. (This is... (9 Replies)
Discussion started by: marek
9 Replies
LEARN ABOUT SUSE
rpload
rpload(1) General Commands Manual rpload(1)NAME
rpload - alpine remote data utility
SYNTAX
rpload [ -f ] [ -s trimSize ] -t Type -l Local_file -r Remote_folder
DESCRIPTION
Rpload may be used to convert local Alpine configuration files or address books into remote configurations or address books. It is
intended to be used by system administrators. Regular users should normally use the facilities provided within Alpine.
Local_file will usually be a user's alpine configuration file, and Remote_folder is the IMAP folder which will be used (with the help of
Alpine's -p, -P, and -x commands or PINECONF, PINERC, and PINERCEX environment variables) as the user's remote configuration folder. A
copy of Local_file will be placed in the folder with the correct header lines to satisfy Alpine.
-f Force the load even if the remote folder is in the wrong format. This will delete the contents of the folder so use it
carefully.
-s trimSize If the number of messages in the remote folder is more than one plus trimsize (one is for the header message), then
messages 2, 3, and so on will be deleted until there are only one plus trimsize messages left. If this option is not
set no trimming will be done.
-t Type The possible Types are pinerc, abook, and sig. (Sig is mostly obsolete. Literal signatures contained within the remote
pinerc should be used instead.)
-l Local_file The file on this system that is to be copied.
-r Remote_folder A remote folder name to be copied to. See the Alpine documentation for the syntax of a remote folder name. One exam-
ple is
{my.imap.server}remote_pinerc.
DIAGNOSTICS
Exit status is zero if all goes well, -1 otherwise.
SEE ALSO Rpdump(1).
Copyright 1989-2007 by the University of Washington.
$Date: 2005/01/14 20:40:14 $
rpload(1)