Transmission Error: File name Too Long
location: ubuntuforums.com - date: October 10, 2009
I'm trying to download a file using Transmission, but it's telling there's an error because the file name is too long.
What's the cause of this, and is there any way around it?
Generate unique file name with timestamp in batch script
location: linuxexchange.com - date: March 6, 2015
In my .bat file I want to generate a unique name for files/directories based on date-time.
e.g.
Build-2009-10-29-10-59-00
The problem is that %TIME% won't do because it contains characters that are illegal in filename (e.g. ':').
Is there something like 'tr' in batch files?
Any other ideas how to solve this (that don't require extra command line utilities aside from the batch interpreter)?
How to get the file name from a full path using JavaScript?
location: linuxexchange.com - date: April 7, 2013
Is there a way that I can get the last value (based on the '\' symbol) from a full path?
Example:
C:\Documents and Settings\img\recycled log.jpg
With this case, I just want to get recycled log.jpg from the full path in JavaScript.
PHP read correct file name with latin characters
location: linuxexchange.com - date: August 28, 2015
I have some issues with file name encoding when extended latin characters are used. I have the following files:
Letter Ā.mp4
Letter A.mp4
In any way with different methods in PHP gives me the filenames as the same:
Letter A.mp4
Letter A.mp4
Even iterating over them this name is shown twice, it means that it sees 2 different files.
I tried to change script encoding with mb_internal_encoding("UTF-8"), tried recursive directory iterator, tried glob etc. In no way I cant get PHP to output the full filename with Ā
What file listing method should I use to see those files with illegal names? I want to rename those files without bad characters.
Cython+distutils build on Ubuntu Python 3 changes the module lib name during linking
location: linuxexchange.com - date: August 11, 2014
I'm using Cython and distutils. During one of my tests, a binary extension module is built. After this, one of my other tests will import the binary module and test it. On Travis-CI, the linker command changes the name. See in the screenshot below: the compiler correctly builds test01.o, but the linker incorrectly creates test01.cpython-34m.so: I want test01.so.
The above screenshot is for Python 3.4; the problem doesn't happen for Python 2.7, leading me to suspect that the Python-specific distutils may be doing something differently.
The distutils setup() function, which is called from my main script, does nothing special:
setup(
cmdclass = {'build_ext': build_ext},
ext_modules = ext_modules,
include_dirs=[numpy.get_include()]
)
Here ext_modules is a sequence of Extension() classes, imported from distutils.extension.
I have gone throught the distutils docs for 2.7 and 3.4 and nothing jumps out at me as different. What could be causing the name change, and what op
How do I show wallpaper file name in conky
location: linuxquestions.com - date: January 8, 2012
I am using fbsetbg -r to choose my wallpaper on my fluxbox desktop. I would like to have conky display the file name of the currently displayed wallpaper. Is this possible?? what line would I need to add to my conkyrc??
MySQL dump restore in a remote machine with port 3307
location: linuxquestions.com - date: September 9, 2012
Hi All,
We have Mysql installed with port 3307. So we need to specify the sock file location using -S option to login in MySQL. I need help to restore MySQL dump into a remote machine. I want to know how can I specify the sock file while restoring the dump in a remote machine
Server 1: 192.168.1.2 ( will access the server using MySQL client )
Server 2: 192.168.1.3 ( MySQL DB) Port 3307
Dump backup is in 192.168.1.2 machine. I need to execute command in 192.168.1.2 to restore the dump in 192.168.1.3. Since MySQL in 192.168.1.3 is using 3307 I am not able to connect using the following command
mysql -h 192.168.1.3 -u root -p
It says cannot connect to 192.168.1.3. If there is an option to specify the sock while connecting remotely it would be helpful for me
Note: I do have port 22 open in 192.168.1.3 for 192.168.1.2. Only port 3307 is opened in 192.168.1.3 for 192.168.1.2
What does it mean for the file name to be shown with red background
location:
linuxexchange.com - date:
January 1, 1970
I'm trying to install Cisco VPN client on Linux Ubuntu 10.04. The installer creates the directory, places all the necessary files in it, and then fails to launch the binary. I tried to launch it myself, the system rebukes me too. Closer inspection yields the following:
[email protected]:/opt/cisco/vpn/bin$ sudo chmod u+x vpnagentd
[email protected]:/opt/cisco/vpn/bin$ ls -la
total 5124
drwxr-xr-x 2 root root 4096 2010-10-23 11:51 .
drwxr-xr-x 6 root root 4096 2010-10-23 11:51 ..
-rwxr-xr-x 1 root root 1607236 2010-10-23 11:51 vpn
-rwsr-xr-x 1 root root 1204692 2010-10-23 11:51 vpnagentd
-r--r--r-- 1 root root 697380 2010-10-23 11:51 vpndownloader.sh
-rwxr-xr-x 1 root root 1712708 2010-10-23 11:51 vpnui
-rwxr-xr-x 1 root root 3654 2010-10-23 11:51 vpn_uninstall.sh
[email protected]:/opt/cisco/vpn/bin$ ./vpnagentd
bash: ./vpnagentd: No such file or directory
[email protected]:/opt/cisco/vpn/bin$ sudo ./vpnagentd
sudo: unable to execute ./vpnagentd: No such f
Custom data directory during MySQL installation
location: linuxexchange.com - date: January 1, 1970
I would like to install MySQL within a Vagrant script, and have the databases in a different directory (a shared folder between the Vagrant VM and the host).
I know that the data directory can be changed after installation:
Change MySQL data dir
But is there a way of doing this fully automatically during installation in a shell script?
Thanks in advance!
nexus7 touch screen driver file name
location: linuxexchange.com - date: January 1, 1970
As a part of my University project we need to mess with nexus7 touchscreen driver.
We have already downloaded linux kernel but we don't know which driver file is the right one for nexus7...
what is the name of nexus7 touchscreen driver file?
please wait...
Page: 1 2 3 4 5 6 7 8 9 10