The pcp-r script found here:
http://synce.sourceforge.net/synce/contrib/pcp-r
seems to not work with the version of synce I have
installed from rpm:
synce-0.9.1-5.fc4
The script includes the text:
# new method, as easily breakable but not worse
than before.. we now
# rely on the filename starting at exactly
position 61 in the line pls
# returns..
i="`echo "$i"|cut -b61-`"
However, it appears (for me at least) the file names
start at 59 bytes.
The following patch seems to make it work for me:
--- pcp-r.orig 2006-01-08 23:57:48.000000000 +1300
+++ pcp-r 2006-01-08 23:58:31.000000000 +1300
@@ -58,9 +58,9 @@
function copy-item {
pls "$1"| while read i; do
# new method, as easily breakable but not worse
than before.. we now
- # rely on the filename starting at exactly
position 61 in the line pls
+ # rely on the filename starting at exactly
position 59 in the line pls
# returns..
- i="`echo "$i"|cut -b61-`"
+ i="`echo "$i"|cut -b59-`"
if [ `echo "$i"|grep -cE "/$"` = 1 ]; then
# directory
echo "making dir: $2/$i"
David Eriksson
None
None
Public
|
Date: 2008-06-18 08:24
|
|
Date: 2006-01-09 15:36 Logged In: YES |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-06-18 08:24 | mark_ellis |
| close_date | - | 2008-06-18 08:24 | mark_ellis |
| assigned_to | nobody | 2006-11-10 21:39 | twogood |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use