I have downloaded methylation data from GEO server in bigWig format and the files are namely
-rw-rw-r-- 1 dk1187 foran 261M Aug 3 03:52 index.html?acc=GSM5652380&format=file&file=GSM5652380_Small-int-Epithelial-Z000000UW.hg38.bigwig
-rw-rw-r-- 1 dk1187 foran 256M Aug 3 03:52 index.html?acc=GSM5652381&format=file&file=GSM5652381_Small-int-Epithelial-Z000000UY.hg38.bigwig
But I’m wondering how can I change the name of the files to
GSM5652380_Small-int-Epithelial-Z000000UW.hg38.bigwig and
GSM5652381_Small-int-Epithelial-Z000000UY.hg38.bigwig
when I’m trying to cp
in a different name it shows
cp index.html?acc=GSM5652381&format=file&file=GSM5652381_Small-int-Epithelial-Z000000UY.hg38.bigwig GSM5652381_Small-int-Epithelial-Z000000UY.hg38.bigwig
[1] 41541
[2] 41542
-bash: GSM5652381_Small-int-Epithelial-Z000000UY.hg38.bigwig: command not found
[2]+ Done format=file
$ cp: missing destination file operand after ‘index.html?acc=GSM5652381’
Try 'cp --help' for more information.
[1]+ Exit 1 cp index.html?acc=GSM5652381
and the same issue with mv
option.
It would be really appreciated if someone kindly advised me to resolve this issue.
I’ve also tried with the full path of the destination file name but no improvement.