[SOLVED] awful.util.spawn doesn't produce correct symlinks

I'm trying to get an automated symlinking working in awesome, which I'm invoking with:
awful.util.spawn("ln -sfn /home/jack/source_dir/* /home/jack/dest_dir/")
Ie I want all files and folders in /home/jack/source_dir to be symlinked to /home/jack/dest_dir.
When I type in the code into the terminal it works as expected. When I use it in awesome with the above mentioned method though, all I get is a symlink called "*" in dest_dir, but none of the files or folders that are under source_dir.
I tried to escape the asterisk with "\" as well,
awful.util.spawn("ln -sfn /home/jack/source_dir/\* /home/jack/dest_dir/")
but it didn't work.
Does anyone have a clue what I'm missing?
Any help would be greatly appreciated.
Cheers
Edit: Of course! Just a little bit more searching and it's just a case of RTFM.
Last edited by JackH79 (2011-04-18 06:02:06)

You know what? Haven't got the faintest. That was a long time ago and I think I was just tinkering. Seems odd to me now, but I'm sure I did have my reasons at at the time.
Sorry that I can't be more helpful.

Similar Messages

  • [Solved] Suspend to ram doesn't work correctly on Acer Aspire 5100

    Hi people of the archlinux forum.
    Finally I decided to change from ubuntu to archlinux because I wanted to learn more about the world of linux.:D
    I have already almost completely set up my laptop, but I have a problem when suspending to ram. The problem comes out when i wake up the laptop, and the screen starts to flicker and will not go away until i restart the laptop.
    This is my laptop after the suspend:
    I'm using pm-utils to suspend and hibernate my laptop, and the hibernate works fine. All settings were made following the arch wiki.
    this is my xorg.conf
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "dbe"
    Load "dri2"
    Load "record"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "2174"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "Dac6Bit" # [<bool>]
    #Option "Dac8Bit" # [<bool>]
    #Option "BusType" # [<str>]
    #Option "CPPIOMode" # [<bool>]
    #Option "CPusecTimeout" # <i>
    #Option "AGPMode" # <i>
    #Option "AGPFastWrite" # [<bool>]
    #Option "AGPSize" # <i>
    #Option "GARTSize" # <i>
    #Option "RingSize" # <i>
    #Option "BufferSize" # <i>
    #Option "EnableDepthMoves" # [<bool>]
    #Option "EnablePageFlip" # [<bool>]
    #Option "NoBackBuffer" # [<bool>]
    #Option "DMAForXv" # [<bool>]
    #Option "FBTexPercent" # <i>
    #Option "DepthBits" # <i>
    #Option "PCIAPERSize" # <i>
    #Option "AccelDFS" # [<bool>]
    #Option "IgnoreEDID" # [<bool>]
    #Option "CustomEDID" # [<str>]
    #Option "DisplayPriority" # [<str>]
    #Option "PanelSize" # [<str>]
    #Option "ForceMinDotClock" # <freq>
    #Option "ColorTiling" # [<bool>]
    #Option "VideoKey" # <i>
    #Option "RageTheatreCrystal" # <i>
    #Option "RageTheatreTunerPort" # <i>
    #Option "RageTheatreCompositePort" # <i>
    #Option "RageTheatreSVideoPort" # <i>
    #Option "TunerType" # <i>
    #Option "RageTheatreMicrocPath" # <str>
    #Option "RageTheatreMicrocType" # <str>
    #Option "ScalerWidth" # <i>
    #Option "RenderAccel" # [<bool>]
    #Option "SubPixelOrder" # [<str>]
    #Option "ShowCache" # [<bool>]
    #Option "ClockGating" # [<bool>]
    #Option "VGAAccess" # [<bool>]
    #Option "ReverseDDC" # [<bool>]
    #Option "LVDSProbePLL" # [<bool>]
    #Option "AccelMethod" # <str>
    #Option "DRI" # [<bool>]
    #Option "ConnectorTable" # <str>
    #Option "DefaultConnectorTable" # [<bool>]
    #Option "DefaultTMDSPLL" # [<bool>]
    #Option "TVDACLoadDetect" # [<bool>]
    #Option "ForceTVOut" # [<bool>]
    #Option "TVStandard" # <str>
    #Option "IgnoreLidStatus" # [<bool>]
    #Option "DefaultTVDACAdj" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "EXAVSync" # [<bool>]
    #Option "ATOMTVOut" # [<bool>]
    #Option "R4xxATOM" # [<bool>]
    #Option "ForceLowPowerMode" # [<bool>]
    #Option "DynamicPM" # [<bool>]
    #Option "NewPLL" # [<bool>]
    #Option "ZaphodHeads" # <str>
    Identifier "Card0"
    Driver "radeon"
    VendorName "ATI Technologies Inc"
    BoardName "RS482 [Radeon Xpress 200M]"
    BusID "PCI:1:5:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    I know you maybe need more info, but i don't really know what do you need... please tell me what do you need and a post it!
    Sorry for my english this isn't my native languaje... Thanks you for all
    Last edited by geonunez (2010-07-08 20:19:09)

    I have the same problem with my Acer Aspire 5100 (video ATI Xpress1100).
    xorg.conf is not used. Turning KMS off doesn`t help.
    I have tried to use uswsusp, but it doesn`t help. s2ram -n output correctly identify my laptop, which means it is in "whitelist" and correct settings for this hardware is known. s2ram suspend works, but screen blinking after waking up remains the same.
    [Sydorenko@SLE ~]$ sudo s2ram -n
    Machine matched entry 17:
    sys_vendor = 'Acer *'
    sys_product = 'Aspire 5100 *'
    sys_version = ''
    bios_version = ''
    Fixes: 0x3 S3_BIOS S3_MODE
    This machine can be identified by:
    sys_vendor = "Acer "
    sys_product = "Aspire 5100 "
    sys_version = "V3.10A"
    bios_version = "V3.10A"
    See http://suspend.sf.net/s2ram-support.html for details.
    Last edited by SydMax (2010-06-06 16:53:50)

  • [SOLVED] urxvt doesn't display correctly some special characters

    Hello everyone,
    I have a weird issue with urxvt. For some reason it doesn't display correctly some special character.
    Here is a comparison between xfce4-terminal and rxvt-unicode  (I used theses characters as exemple):
    xfce4-terminal :
    urxvt :
    And here is my .XDefaults file (without the color and the plugin part, since it's unrelevant):
    !Font
    URxvt.font: xft:PragmataPro:pixelsize=11:antialias=false
    !General
    URxvt.scrollBar: false
    URxvt*imLocale: fr_CH.UTF-8
    URxvt.saveLines: 5000
    URxvt.geometry: 95x26+50+50
    Has someone an idea what the problem could be?
    Thank's in advance.
    Last edited by mwm (2013-11-13 13:15:48)

    This is what I think is happpening.
    PragmataPro may not contain those glyphs.  It appears to have a wide array of glyphs but it is not unicode complete.
    Xfce-terminal is a vte terminal.  When a glyph cannot be found in the desired font, it will find the glyph in the 'closest' font.  Urxvt will only use the glyphs in the font or fonts specified.  If PragmataPro does not contain the glyphs, urxvt will display boxes.
    You can give urxvt a series of fonts to search. It will search for a glyph through the listed fonts in the order you specify.  Here's an example from my urxvt configs:
    urxvt*font: xft:DejaVu Sans Mono:style=Book:antialias=false:size=8, \
    xft:WenQuanYi Bitmap Song:size=8, \
    xft:FreeSerif:style=Regular, \
    xft:unifont:style=Medium:antialias=false
    I couldn't use FreeSerif or unifont as a main font, but for an occasional glyph, it works for me.  This file, http://www.cl.cam.ac.uk/~mgk25/ucs/exam … 8-demo.txt, can be displayed in urxvt correctly, with only a few unknow glyphs showing as boxes in the Amharic section.

  • Game Center doesn't work correctly

    Game Center on iPod Touch 2nd Gen doesn't work correctly under iOS 4.2.1
    It shows wrong language (Englist but not my native language. My region setting is right and the system language right too.)
    Besides, the "Games" page only has a button "Find Game Center Games", while it should show my Game Center Games.
    The Friends page shows all my friends. But when I press a friend the sub page doesn't show the game my friend and I have in common.
    I've restored my device several times, but it didn't help.
    How to solve it?

    I've had exactly the same problem on my 2nd gen since early May when it just stopped working out of the blue.
    There are a few threads here on the subject. I believe that every 2nd gen is affected as I've yet to hear a 2nd gen owner say that theirs works.
    Other than waiting for Apple to fix it I don't think there is a solution.

  • WRT54G version 6 - router setup screen via Internet Explorer 7 doesn't display correctly

    Hi,
    I've just set up my WRT54G router.  I'm able to connect to the internet and I'm able to connect directly to the router via IE but the setup screen doesn't display correctly.  I've tried resetting the computer and updating the firmware but it still doesn't display correctly.  Almost all of the text is missing except for the Linksys logo and a few drop down menus.  Any help/suggestions would be great, thanks.

    Hi gang,
    There a number of things that you can do to solve this problem but most of them involve changing the rules that you have already configured in your ZoneAlarm profile. My preferred solution is to:
    -unplug your router from the WAN (why not?)
    -turn off zone alarm
    -access your router's administration page at http://192.168.1.1
    -find the admin page where you can switch admin access from http to https
    --- **save your changes !!**
    -reboot your router
    -plug the WAN cable back into your router
    -turn ZoneAlarm back on
    -access your admin page at https://192.168.1.1 ( note the 's')
    Bob is your sister's brother! Your admin page should work as it is supposed to. Your router and ZoneAlarm should be playing nicely together. You haven't borked your finely tuned zonealarm rules. You were going to bookmark your admin page anyway, and if you want to allow remote administration, you would want to use https anyway. Nothing is broken and you fixed two things. "Its a good thing."Message Edited by ubuibi on 12-27-200609:10 AM
    There are really only 10 kinds of people in the world;
    Those who understand binary and those who don't.
    ubuibi

  • Robohelp 9 WebHelp - Searching doesn't produce any results.

    Hi, I upgraded to RoboHelp 9 last week and now searching in Webhelp doesn't produce any results. I've created a new project, used the sample project, tried generating it to a new folder and results remain the same.
    When I select the search tab, the status bar flutters with the "Waiting for file...." displayed indefinetly with the occassion display of the javascript: (void);
    Screens shots are from the RH 9 sample project. Results are the same with my projects.  CHMs generated work fine!
    Any suggestions?

    Mary
    You added the problem to another thread that was not related as the issue there is the use of HTTPS. I have deleted that post.
    You also started a second thread with a the same question. I don't understand how asking the question twice will help so I have locked that thread but created a link to this thread so that anyone with an answer can help you. If there is a reason for starting a second thread, please let me know.
    Please just ask once and wait for a reply as this wastes moderator's time that is better used trying to answer questions.
    Now to the problem. Searching with Chrome installed works just fine for most people so the problem seems to be local to you. If I have read you correctly, after installing Chrome, the search breaks no matter what browser is used.
    Was that checked on other machines or just yours?
    IGNORE THIS QUESTION - The answer is YES and that was in the post.
    Did you also check that search was broken with the supplied sample projects? I know that works with the three browsers being discussed here?
    Where was the help installed when tested by you both standalone and from the application?
    Questions 2 and 3 are really only related to problems with Chrome. I have not seen anyone report Chrome also breaking the search in the other browsers. There's more to this than meets the eye as Chrome has not caused that problem for anyone else, or at least, no one has reported it.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • My EPSON printer doesn't print correctly the colors

    Hi, I've an EPSON Stylus Photo R200 installed on my MacBook (OSX 10.4.11)... From some days, my printer doesn't print correctly the colors: I lunched the utility application and I saw that the printer doesn't print the "light magenta" (that's the light pink I think); that's strange, because his inkjet refill is not empty. I tried to do the clean process, but it don't start because there isn't enough ink in another two ink refill (yellow and light cyan, that aren't empty however).
    Some ideas?
    Message was edited by: Mac Shunsuke

    I have similar issue before and it's really frustrated to use small capacity cartridges in my R200 and R280 printers. I ended up to get a very very decent ink system from InkRepublic.com
    these two systems have been working for me for few years and I never ever have to worry about the ink cost and printing problem.
    There are couple of good reviews and workflow here
    http://www.inkrepublic.com/members/MikeSokol/review.asp
    http://www.brandonstaggs.com/epson-r200-continous-ink-system-review/
    epson R1900 and R1800 ink system review
    http://www.inkrepublic.com/members/MerrittIsland/review.asp
    hope this helps.

  • RMBP doesn't show correct 'available HDD space'

    Hi,
    I'm using rMBP 15" early 2013 with OSX 10.9.5. My problem is (for a while) OSX doesn't show correctly my available HDD space. It is internal 256 GB SSD. How can i know that it doesn't show correctly? Because my Disk Utility says 69.64 GB free space but my Finder says 92.14 GB (Huge difference) ! Also my PC partition tells about different story but i don't care it (Who cares silly billy Windows? ) My guess is Disk Utility says correct.
    This problem started with Diablo III. I installed it (13 GB download for a patch !!! c'mon Blizzard) and after that my Finder starts to lie to me (Before installation, both Disk utility and Finder says 101 GB approx.
    Any idea?
    p.s : İ did several times Repair disk permissions and repair disk. Please don't advise it..
    Thanks

    Go step by step and test.
    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Empty Trash.
       http://support.apple.com/kb/PH13806
    3. Disk space / Time Machine ?/ Local Snapshots
      Local backups
       http://support.apple.com/kb/ht4878
    4. Re-index Macintosh HD.
        This will take a while. Wait until it is finished.
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409
    5.Try OmniDiskSweeper. This will give the storage size details of the items.
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Delete the files yo don’t want to keep.
       Be careful. Delete only the files that should be deleted.
       https://www.omnigroup.com/more

  • Report parameters doesn't appear correctly

    I have a report .rdl under Visual Studio2010 and sql server2008.
    the report language is arabic and all the fields appears correctly, but the parameters doesn't appear correct it shows stange characers(not question marks) and all the remaining fields show arabic characters correct.
    i run the report on internet explorer9.
    i don't know what is the problem, i searched alot and there is nothing new. what can i do??

    Hi nermo,
    You have mentioned that the report is work fine on Chrome. It may be a compatibility issue of IE9. At this time, I suggest that you first check this issue in IE9 Compatibility View mode. Please refer to the following steps:
    1. Launch the IE 9, and press Alt+T to select the Tools.
    2. Click Compatibility View settings.
    3. Check the “Display intranet sites in Compatibility View” option, and click Close.
    Reference:
    Fix site display problems with Compatibility View 
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • AddChild doesn't work correctly in 11.9

    comparing the two releases listed below, somehow my Flash program doesn't work correctly on the latest version anymore, nothing was changed in my program but after upgrading to the latest Flash Player, it doesn't work properly anymore, specifically, the items I add through the addChild method doesn't appear properly, was there any changes in between these versions that could have affected the addChild behavior? I'm testing with Windows  7 IE debug version and I see no script errors
    Released 10/8/2013) Flash Player 11.9.900.117 (156.2 MB)
    (Released 9/24/2013) Flash Player 11.8.800.175 (Win IE only) (50 MB)

    Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code, test url or a test swf so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the bug URL and I'll investigate internally.
     

  • IPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords

    iPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords. They get to ä̈,ö̈, ü̈ when I write the keyword a second time. Can anybody tell me why. Thank you. Heinz

    It apparently does not like non-standard English characters - use A-Z and 0-9 adn you should be OK
    report to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • After upgrade my iphone 4 to IOS6, sound doesn't work correctly

    After upgrade my iphone 4 to IOS6, sound doesn't work correctly.
    During a phone call, there is no sound. But if I turn on the speaker, there is sound. itune works fine since it's on the speaker.

    Dear All
    i have done the same activity ( buy a new iphone 4 -> upgrade to ios5 - > configure email) with success-
    than when i start to move the contacts from old mobile to iphone (using the microsim) i receive the same crash
    in disgnosis e use i saw 2 dump with this title 'latestCrash-Preferences.plist and LatestCrash.plist. in each file the date is the same and i read:
    Exception Tyle: EXC_CRASH (SIGABRT)
    Exception code: 0x00000000, 0x00000000
    Chrashed Thread: 6
    in thread 6: name: Dispatch queue:
    com.apple.addressBookUI.ContactsSettingPlugin
    and thaan a lot of data.
    Have you any idea?
    thank in advance
    Fabio

  • Translation from CS5 to Cloud doesn't  work correct, navi and linked images are broken.

    Translation from CS5 to Cloud doesn't  work correct, <navi> and linked images are broken.
    The data of CS5 was created at another PC. I installed Cloud version into two different PC. One has had the site data since dreamweaver CS5 and it works correct in Cloud version. Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.

    Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.
    This implies your site is not properly defined in DW.  Go to Site > Manage Sites.
    Or simply go to your other installation of DW and export the site definition file from Manage Sites.
    Save it to a flash stick or other removable drive.  Then import the STE file into your 2nd installation of  DW.
    Nancy O.

  • ITunes 10.4 full screen with Win7-64bit doesn't work correctly.

    iTunes 10.4 full screen with Win7-64 doesn't work correctly. I have the Windows taskbar on the left side of my screen. Maximized iTunes is panned to the left.

    Same issue here. When the Windows taskbar is position on the top of the screen and then the iTunes windows is maximised, it's position is as if the Windows taskbar is at the bottom of the screen so the top of the iTunes window sits under the taskbar.
    For those wanting a workaround, hold shift and right click the iTunes icon in the taskbar/quick launch bar and click restore, at least then you can adjust it to be full screen manually.
    System:
    Windows 7 Ultimate x64
    iTunes 10.4
    ATI 5750 video card

  • Mouse hover doesn't produce preview in an application

    I use a Bible program called Logos 5. For months I have had an issue where my mouse hover over a reference doesn't produce a preview, but only in one area of the program - my personal notes.
    Recevied an email from the comany that said,
    That specific tool tip is one that we are relying on Apple to make a call back to us for it to appear. What this means is at some point you, or a piece of software you’ve installed, or changed settings from, has modified the Apple tool-tip settings which is, in this case, disabling that tool-tip. The fact that it does appear when you hold down a modifying key also points to the fact that this is a system setting that has been modified.
    Any clue what program or setting could have interfered? I do not have this problem on an older iMac with the same program & files loaded.

    Hi All,
    I have got LabVIEW 8.0. I make a VI for discovering BT targets. It works fine on my computer and also fine when I make a application.
    I don't have any problem with this function and the discovering of BT
    target. I made the test of the PC of my collaegue and It works fine too.
    Two tests done : One with a own Vi and an own application on my PC  ==> everything OK
                                One with the Vi and application of Aquila1981 from the folder "rest.zip" (see first thread)==> everything OK
    My config : Win XP Pro ver 2002  SP2
                      Pentium IV (3,4 Ghz)
                      1 Go of RAM
    Targets : Pocket PC Asus A620 BT
                   Sony-Ericsson Mobile Phone K750i
    BT stuff : BT USB Stick
                    Manufacturer : Broadcom ==> Blutonium BCM2035 BT 2.4 Ghz Single Chip Transceiver
                    Driver version : 5.1.2600.2180
                    Firmware Revision 00.04
    Let me know if you have some problems.
    Julien Roland
    AE of NI Belgium
    www.ni.com/support
    Julien Roland - District Sales Manager
    NI Belgium - Technical Support
    Don't forget to rate a good answer

Maybe you are looking for

  • Finder Appearing to Relaunch itself, Dock not popping up

    I just installed the newest security update on 1/10/2008. After many restarts and a shut down, I still am running into a problem of the Finder appearing to relaunch itself when ask to do normal window function, such as closing a window. I've also not

  • Reconcilliation of the Scrap w.r.t challan in case of subcontracting.

    Dear All, My client is having the requirement is to do the reconcilliation of the scrap qty , which got generated at the vedor's end w.r.t subcontracting challan ,As per the Indian Excise Law , total weight of the material(raw material) going outside

  • How to determine the complexity of OBIEE report?

    Hi BI Gurus, We are currently planning to do OBIEE 11g upgrade. To do impact analysis, we have been asked to come with the complexity of all the reports which are now in OBIEE 10.1.3.4.2. I came up with the following points. 1) No. of tables used in

  • Copy and Paste function no longer works in version 3.6

    Ever since I upgraded to version 3.6 (finally after waiting for all of the crash bugs to be fixed after having to downgrade last fall) now the simple copy & paste function won't work when copying from one webpage to put link or paragraph of text into

  • Set preview to always include networked devices?

    Is there any way to do this? It's pretty annoying to always have to set this in the pull down menu then access the menu again to select the networked scanner. There should be a preference setting. Message was edited by: jcmcnamee