• 0 Posts
  • 15 Comments
Joined 3 years ago
cake
Cake day: June 7th, 2023

help-circle
  • I just tried your use case, and it did move the files to the correct folder.

    using zsh:

     user@computer  ~  touch test.jpg
     user@computer  ~  touch test2.jpg
     user@computer  ~  mv test.jpg ./Public 
     user@computer  ~  mv test2.jpg $_
     user@computer  ~  ls ./Public 
    test2.jpg  test.jpg
     user@computer  ~  
    

    using bash:

    [user@computer Public]$ mkdir test
    [user@computer Public]$ ls
    test  test2.jpg  test.jpg
    [user@computer Public]$ mv test.jpg ./test
    [user@computer Public]$ mv test2.jpg $_
    [user@computer Public]$ ls
    test
    [user@computer Public]$ ls test/
    test2.jpg  test.jpg
    [user@computer Public]$ 
    

    using bash and full path:

    [user@computer Public]$ ls
    test  test2.jpg  test.jpg
    [user@computer Public]$ mv test.jpg /home/user/Public/test
    [user@computer Public]$ mv test2.jpg $_
    [user@computer Public]$ ls
    test
    [user@computer Public]$ ls test/
    test2.jpg  test.jpg
    [user@computer Public]$ 
    

    What shell are you using? You can check it by using echo $0.

     user@computer  ~  echo $0
    /usr/bin/zsh
    
    [user@computer ~]$ echo $0
    /bin/bash
    

    I can’t reproduce it, even when putting the directory path in quotes, it still simply moved the file.






  • Russia had some reputation of being a large and powerful army, but as soon as they attacked Ukraine it showed the world it actually had shit. It basically lost its credibility of being a world power because their arsenal is old fashioned and they were just throwing in bodies.

    I feel the US is going through the same. Everyone saw them as an undefeatable nation, but this little stint in Iran had their stockpiles dropping faster than expected and it’s not going as they expected. Hegseth and Trump contradict each other and besides squandering their soft power over the past years, they are also showing that their military might has limits.

    They are both still to be reckoned with and they are capable of doing great harm to innocent bystanders, but my view has changed a bit.